mirror of https://github.com/FFmpeg/FFmpeg.git
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.pull/2/head
parent
0a6aff6936
commit
729ebb2f18
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue