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>
Tue, 28 Oct 2014 23:57:52 +0000 (00:57 +0100)
commitf3c0e0bf6f53df0977f3878d4f5cec99dff8de9e
tree4c745b5923a94820fa79be7d5042e4d3cfd10544
parent1a25c336aaaf9b0a412b0accc7107574e77a1511
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>
libavcodec/dnxhddec.c