avcodec/diracdec: Check numx/y
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Aug 2016 17:21:07 +0000 (19:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Aug 2016 17:36:01 +0000 (19:36 +0200)
commita31e08fa1aa5c5f0518b8af850f28eb945268e66
treeaa1752e6c4e13ab5f7bfbc9b74ba1706eeb81538
parent27ee70290ef4c032bff5c1dd7c0db2f6d17018fe
avcodec/diracdec: Check numx/y

Fixes division by 0
Fixes: 60261c4469ba3e11059890fb2832a515/asan_generic_135e694_2790_beb94eaa0aeb7d11c0437375a8964a99.drc

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c