[vlc-commits] stream_filter: remove tautology test
Rémi Denis-Courmont
git at videolan.org
Fri Apr 6 20:05:07 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 6 20:34:08 2018 +0300| [daeddd9bc724da5aa3c364c5b382da963f92b5b8] | committer: Rémi Denis-Courmont
stream_filter: remove tautology test
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=daeddd9bc724da5aa3c364c5b382da963f92b5b8
---
src/input/stream_filter.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c
index 8d7cff27cb..f7c7ea5fe9 100644
--- a/src/input/stream_filter.c
+++ b/src/input/stream_filter.c
@@ -37,10 +37,7 @@
static void StreamDelete(stream_t *s)
{
module_unneed(s, s->p_module);
-
- if (s->s != NULL)
- vlc_stream_Delete(s->s);
-
+ vlc_stream_Delete(s->s);
free(s->psz_filepath);
}
More information about the vlc-commits
mailing list