[vlc-devel] [RFC] [PATCH 1/3] demux: h26x: relax the check of access unit delimiter

Zhao Zhili quinkblack at foxmail.com
Tue Mar 20 10:16:10 CET 2018


---
 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 3072551..053040b 100644
--- a/modules/demux/mpeg/h26x.c
+++ b/modules/demux/mpeg/h26x.c
@@ -205,7 +205,7 @@ static int ProbeH264( const uint8_t *p_peek, size_t i_peek, void *p_priv )
     }
     else if( i_nal_type == H264_NAL_AU_DELIMITER )
     {
-        if( i_ref_idc || p_ctx->b_pps || p_ctx->b_sps )
+        if( i_ref_idc )
             return -1;
     }
     else if ( i_nal_type == H264_NAL_SEI )
-- 
2.9.5





More information about the vlc-devel mailing list