]> git.sesse.net Git - ffmpeg/commit
cllc: Pad swapped buffer
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 25 Aug 2012 02:10:19 +0000 (22:10 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 25 Aug 2012 02:19:21 +0000 (22:19 -0400)
commitaa7a5651019a2c603aff2c265777206ef4da742a
tree7c4ef6f0ac9465dce1d5ed57aeb6e94208120ee3
parent01cb4c84f54a52725c9b4b4dd6c609c36cccc5d4
cllc: Pad swapped buffer

The bitstream buffer must be padded, or the bitstream reader might
read over the end.

Fixes the following valgrind warning:
    Use of uninitialised value of size 8 at 0x591BAE: cllc_decode_frame (cllc.c:166)

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/cllc.c