diracdec: fix unchecked byte length
authorRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 13 Jul 2016 22:53:05 +0000 (23:53 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 13 Jul 2016 22:53:05 +0000 (23:53 +0100)
commit000eb01a7d14ee635bd0e554ea92e05feb8cf685
treedfef30df73566e26b48d826f045183c732322f86
parentb2b12b2d4ab1347e06770bfb4ea1bdf1b1c70527
diracdec: fix unchecked byte length

Also drops the start variable since it's redundant.
Found by Coverity, fixes CID1363964

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/diracdec.c