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>
Wed, 25 Jun 2014 21:15:37 +0000 (23:15 +0200)
commit4533e8b30a384e8b9bff9d228a028c1f58b4c6aa
tree92555066099325839d49a2a79eb1b5c1651571c9
parenta8dd7fe5b9943500ace8ec9c51f8fdfdb8472ea7
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>
(cherry picked from commit 4a30f08505a4e85718896ff233c97be41a9754ca)
(cherry picked from commit 9c9fc79d9237d28e33161cb2e75082d8ad232b2e)

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