vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Wed Jan 31 18:23:08 2018 +0100| [382dab15d434b4e44c29e3d64fe095b44a539c4b] | committer: Francois Cartegnie
sout: remove useless check > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=382dab15d434b4e44c29e3d64fe095b44a539c4b --- include/vlc_sout.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/vlc_sout.h b/include/vlc_sout.h index 6773ebe73b..0165e95134 100644 --- a/include/vlc_sout.h +++ b/include/vlc_sout.h @@ -257,10 +257,7 @@ static inline int sout_StreamControl( sout_stream_t *s, int i_query, ... ) int i_result; va_start( args, i_query ); - if ( !s->pf_control ) - i_result = VLC_EGENERIC; - else - i_result = sout_StreamControlVa( s, i_query, args ); + i_result = sout_StreamControlVa( s, i_query, args ); va_end( args ); return i_result; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits