avcodec/diracdec: check bitstream size related fields for overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 28 Mar 2016 02:01:08 +0000 (04:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 28 Mar 2016 02:39:57 +0000 (04:39 +0200)
commit8f2a1990c06df73cf58401c8ba193711eb8947e7
treebd03b82f1972c344ef07fa8559c05b29930bb2c7
parent665c05f7cb703fba5965b36346344d0a8372965f
avcodec/diracdec: check bitstream size related fields for overflows

Fixes segfault
Fixes Ticket5333

Regression since bfc8a4dabe5a0154b31128b59dca575010176441
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c