avcodec/dvbsubdec: Check get_region() return value
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Jan 2015 15:21:36 +0000 (16:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Jan 2015 15:33:02 +0000 (16:33 +0100)
commit8de0990e9f22d7f728f70d5a03f3e78fc958f658
treedc54d3d1dd88583b48472e5a3a64240b927bfa1d
parentedf1cb7aeea0f8fe0e3e785648a30a7ed99defd0
avcodec/dvbsubdec: Check get_region() return value

Fixes null pointer dereference with DEBUG enabled

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