avcodec/dnxhddec: treat pix_fmt like width/height
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 23:57:07 +0000 (00:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Mar 2015 17:03:49 +0000 (18:03 +0100)
commitd327f673f934b95eefefd4944161d273d5ddfb44
treea8f43475bd3908ce363dd2d03d7abceb6290df45
parent017226fdf9eb6e3985e87f6218d012f7b6fe99e3
avcodec/dnxhddec: treat pix_fmt like width/height

Fixes out of array accesses
Fixes: asan_heap-oob_22c9a39_16_015.mxf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f3c0e0bf6f53df0977f3878d4f5cec99dff8de9e)

Conflicts:

libavcodec/dnxhddec.c

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