aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-17 12:21:18 -0800
committerReinhard Tartler <siretart@tauware.de>2012-04-01 18:33:26 +0200
commit9a331217b00be566e8cc7afcd4df916b43e1756b (patch)
tree6a59654018ee7d63d7f7026dd99901d0944cd142 /libavcodec/mpegaudiodec.c
parent2380a3d37f0b94436db53aa56491cbc9203bc8fe (diff)
downloadffmpeg-9a331217b00be566e8cc7afcd4df916b43e1756b.tar.gz
asf: prevent packet_size_left from going negative if hdrlen > pktlen.
This prevents failed assertions further down in the packet processing where we require non-negative values for packet_size_left. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit 41afac7f7a67c634c86b1d17fc930e9183d4aaa0) Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
0 files changed, 0 insertions, 0 deletions