aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.c
diff options
context:
space:
mode:
authorIvan <grigoriev.ivan.a@gmail.com>2016-04-12 16:32:04 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2017-08-23 13:15:16 +0200
commit8f937fdf04e46525e43951975a92a9e5f0171bab (patch)
tree210eac8d70b3b15e318568385fdfafcd3d590484 /libavcodec/rangecoder.c
parent97ebe5978eb0e496fdd74b5171d07e21dce25be1 (diff)
downloadffmpeg-8f937fdf04e46525e43951975a92a9e5f0171bab.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/rangecoder.c')
0 files changed, 0 insertions, 0 deletions