[vlc-commits] demux: hevc: fix probing on PREF_SEI

Francois Cartegnie git at videolan.org
Fri Dec 30 13:28:28 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | 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;



More information about the vlc-commits mailing list