avidec: update size when packet is shrunk
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Apr 2012 21:56:26 +0000 (23:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Apr 2012 22:24:38 +0000 (00:24 +0200)
commitc41ac870470c614185e1752c11f892809022248a
tree589ee81c2a0ca408d34aef32f336bd0613f70c63
parent3f80546d75011e40eec73d376cbdb6e238e602b9
avidec: update size when packet is shrunk

Fixes out of array read

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