aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-19 18:11:44 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-12-19 23:14:21 +0100
commit729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e (patch)
tree7dec75679b21d24163785451ffbc3ebd8d07d7dd /libavcodec/x86
parent0a6aff69366cb60d252ae46bd1d21d4b2074fa71 (diff)
downloadffmpeg-729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e.tar.gz
h264: clear trailing bits in partially parsed NAL units
Trailing bits are likely to be non-zero if the NAL unit is truncated. Clearing the bits make overreads of the bitstream less likely in this case. Fixes playback of http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 which has a forbidden byte sequence of 0x00 0x00 0x00 in it SPS.
Diffstat (limited to 'libavcodec/x86')
0 files changed, 0 insertions, 0 deletions