vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Dec 30 13:27:38 2016 +0100| [52259bffe2d74b46e61f31dae3c9e118a823f174] | committer: Francois Cartegnie
demux: hevc: fix probing on PREF_SEI > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52259bffe2d74b46e61f31dae3c9e118a823f174 --- modules/demux/mpeg/h26x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/mpeg/h26x.c b/modules/demux/mpeg/h26x.c index 7ea5bb2..25a6ca0 100644 --- a/modules/demux/mpeg/h26x.c +++ b/modules/demux/mpeg/h26x.c @@ -153,7 +153,7 @@ static int ProbeHEVC( const uint8_t *p_peek, size_t i_peek, void *p_priv ) p_peek[4] != 0 || p_peek[5] != 0 ) /* Must prefix another NAL */ return -1; } - else if( i_type != HEVC_NAL_PREF_SEI ) /* Prefix SEI */ + else if( i_type == HEVC_NAL_PREF_SEI ) /* Prefix SEI */ { if( p_peek[2] == 0xFF ) /* empty SEI */ return -1; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
