avcodec/diracdec: move mc buffer allocation to per frame
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 04:19:23 +0000 (06:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 04:41:32 +0000 (06:41 +0200)
commit4a30f08505a4e85718896ff233c97be41a9754ca
tree0b6c11dc344c0463fd01b9bcb85a99066c1fadc5
parent76191c08f88fd66cf9198afc0c4a809c4c0336d4
avcodec/diracdec: move mc buffer allocation to per frame

Fixes out of array accesses for non default buffers with large strides

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/diracdec.c