diff options
author | Ivan <[email protected]> | 2016-04-12 16:32:04 -0400 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2016-04-17 02:39:36 +0200 |
commit | 3a727606c474d3d0b9efa3c900294a84bdb5e331 (patch) | |
tree | 20ee32453cab9811dec363e90e577d85415be59c /libavcodec/sipr.c | |
parent | b63ba3a51782baca737e646110f4832f8abbaadd (diff) |
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 <[email protected]>
Diffstat (limited to 'libavcodec/sipr.c')
0 files changed, 0 insertions, 0 deletions