diff options
author | Ivan <grigoriev.ivan.a@gmail.com> | 2016-04-12 16:32:04 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-29 14:23:41 +0200 |
commit | f3ec2a0859f04b825ba4282275d41c1ebe735cc7 (patch) | |
tree | c5b9d7c533eebbf4337996d6f2e10aadaa6061d9 /libavcodec/cookdata.h | |
parent | 036d049fb1f2a23938501fc00bcc9e4d0f010b96 (diff) | |
download | ffmpeg-f3ec2a0859f04b825ba4282275d41c1ebe735cc7.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 'libavcodec/cookdata.h')
0 files changed, 0 insertions, 0 deletions