[vlc-commits] packetizer: h264: fix sps parsing for High444

Francois Cartegnie git at videolan.org
Mon Nov 30 13:01:54 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Nov 30 12:15:20 2015 +0100| [7f17f128df206f39a02c31c2678f9a77b96117c7] | committer: Francois Cartegnie

packetizer: h264: fix sps parsing for High444

Old profile, out of spec
ref: https://ffmpeg.org/pipermail/ffmpeg-devel/2012-October/132400.html

new sample:
samples/V-codecs/h264/lossless_timecode_HIGH444_IDC144.h264

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f17f128df206f39a02c31c2678f9a77b96117c7
---

 modules/packetizer/h264_nal.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/packetizer/h264_nal.c b/modules/packetizer/h264_nal.c
index 60c4f8c..437cefa 100644
--- a/modules/packetizer/h264_nal.c
+++ b/modules/packetizer/h264_nal.c
@@ -423,6 +423,7 @@ int h264_parse_sps( const uint8_t *p_sps_buf, int i_sps_size,
     if( i_profile_idc == PROFILE_H264_HIGH ||
         i_profile_idc == PROFILE_H264_HIGH_10 ||
         i_profile_idc == PROFILE_H264_HIGH_422 ||
+        i_profile_idc == PROFILE_H264_HIGH_444 || /* Old one, no longer on spec */
         i_profile_idc == PROFILE_H264_HIGH_444_PREDICTIVE ||
         i_profile_idc == PROFILE_H264_CAVLC_INTRA ||
         i_profile_idc == PROFILE_H264_SVC_BASELINE ||



More information about the vlc-commits mailing list