mpeg12dec: reset data size after parsing extradata.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 18:03:53 +0000 (20:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 18:03:53 +0000 (20:03 +0200)
commit951cbea56fdc03ef96d07fbd7e5bed755d42ac8a
tree538f937bd39cd621575c369076167ccf666df0c8
parent41abc9da50ba7a7b68bbbf6622475ce7a3c72e3f
mpeg12dec: reset data size after parsing extradata.

This ended up corrupting data structures and may possibly
lead to a double free.

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