diff options
author | Ivan <grigoriev.ivan.a@gmail.com> | 2016-04-12 16:32:04 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-27 04:40:12 +0200 |
commit | 70b3e170f97f4c897f12cdcdaa226d910ea88bb7 (patch) | |
tree | e5bf1b6628d7db6061ca5e4b9cef86dd4c772e7a /libavformat/subviewerdec.c | |
parent | 4e174d95f59d307c170ea89229ab3673fee2631c (diff) | |
download | ffmpeg-70b3e170f97f4c897f12cdcdaa226d910ea88bb7.tar.gz |
avcodec/h264: Fix for H.264 configuration parsing
Sometimes video fails to decode if H.264 configuration changes mid stream.
The reason is that configuration parser assumes that nal_ref_idc is equal to 11b
while actually some codecs but 01b there. The H.264 spec is somewhat
vague about this but it looks like it allows any non-zero nal_ref_idc for sps/pps.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3a727606c474d3d0b9efa3c900294a84bdb5e331)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/subviewerdec.c')
0 files changed, 0 insertions, 0 deletions