X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finput%2Fstream_filter.c;h=fc06b6fa5f1072b65e7ca6c22dfb28c50b68d89b;hb=b51afca9348a2c1ebca0237e5e91f9b0b6562d91;hp=99060f89c74e0480bfb737e54820b853e74e1b82;hpb=9f052b2bd26acc0d580e443dedb8681c287808ea;p=vlc diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c index 99060f89c7..fc06b6fa5f 100644 --- a/src/input/stream_filter.c +++ b/src/input/stream_filter.c @@ -29,6 +29,8 @@ #include #include +#include + #include "stream.h" static void StreamDelete( stream_t * ); @@ -37,11 +39,14 @@ stream_t *stream_FilterNew( stream_t *p_source, const char *psz_stream_filter ) { stream_t *s; + assert( p_source != NULL ); s = stream_CommonNew( VLC_OBJECT( p_source ) ); if( s == NULL ) return NULL; + s->p_input = p_source->p_input; + /* */ s->psz_path = strdup( p_source->psz_path ); if( !s->psz_path )