diracdec: Correct the bytestream end pointer.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Mar 2012 18:13:55 +0000 (19:13 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Mar 2012 18:13:55 +0000 (19:13 +0100)
commit0f13cc732b3752828890b8dff507615cfd454336
tree62d719aba4921ffa9b9fa76b9010bcc3de888915
parentf095391a140ed3f379e1fb16605fac821c3e6660
diracdec: Correct the bytestream end pointer.

This fixes some arith decoder overreads and a potential infinite loop.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/diracdec.c