diff options
author | Ivan <grigoriev.ivan.a@gmail.com> | 2016-04-12 16:32:04 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-28 03:47:13 +0200 |
commit | 0696a555b6a516ce569bb2320b512dc790e747b4 (patch) | |
tree | ffb366f556cca7ccfe2a038bbfae7eb466395a33 /tests/ref/lavf/smjpeg | |
parent | 62e87d065b9bae0f9d5319a88c8af0a0c3bdd084 (diff) | |
download | ffmpeg-0696a555b6a516ce569bb2320b512dc790e747b4.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 'tests/ref/lavf/smjpeg')
0 files changed, 0 insertions, 0 deletions