aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/cavsdsp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-06-05 11:48:53 +0300
committerMartin Storsjö <martin@martin.st>2014-06-06 19:23:54 +0300
commit3d79d0c93e5b37a35b1b22d6c18699c233aad1ba (patch)
tree6e80f9db86ea26a039bd8ee440f2f8e01883abfa /libavcodec/x86/cavsdsp.c
parent103243ca649cc305129ed0352bf4d97e5ddf4d80 (diff)
downloadffmpeg-3d79d0c93e5b37a35b1b22d6c18699c233aad1ba.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>
Diffstat (limited to 'libavcodec/x86/cavsdsp.c')
0 files changed, 0 insertions, 0 deletions