Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
2c1f181e by Zhao Zhili at 2022-04-03T14:43:34+00:00
demux: h26x: relax requirement on AUD

According to the spec, when an AUD is present, it shall be the
first NAL unit. However, many samples don't follow this rule.

- - - - -


1 changed file:

- modules/demux/mpeg/h26x.c


Changes:

=====================================
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 )



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/2c1f181ea3a7fb7ca8da9345a59aa6db543f818e

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/2c1f181ea3a7fb7ca8da9345a59aa6db543f818e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to