aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpc8.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-06-05 11:48:53 +0300
committerLuca Barbato <lu_zero@gentoo.org>2014-06-26 13:43:41 +0200
commit744e7eea5d815efea777b6179d96e8d94b63ccfa (patch)
tree9f8d4c2be985f2c406257cb3b2f4afc2d2f5e63e /libavcodec/mpc8.c
parentd7dbc687e312a91ef2ccf797d57b95c61d0e8a2f (diff)
downloadffmpeg-744e7eea5d815efea777b6179d96e8d94b63ccfa.tar.gz
adpcm: Avoid reading out of bounds in the IMA QT trellis encoder
This was broken in 095be4fb - samples+ch (for the previous non-planar case) equals &samples_p[ch][0]. The confusion probably stemmed from the IMA WAV case where it originally was &samples[avctx->channels + ch], which was correctly changed into &samples_p[ch][1]. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 3d79d0c93e5b37a35b1b22d6c18699c233aad1ba) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/mpc8.c')
0 files changed, 0 insertions, 0 deletions