aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudio_parser.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-02-09 19:32:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-11 02:54:09 +0100
commit20708223dbd35b69a1b7cb542ee340c7c22af504 (patch)
tree414944b0daa6aa4e520b0a285d266cdf87aafb58 /libavcodec/mpegaudio_parser.c
parenta30ac54a19d27920ec262ebb104e1f48092a3715 (diff)
downloadffmpeg-20708223dbd35b69a1b7cb542ee340c7c22af504.tar.gz
Do not fail DVB sub decoding because of a few padding bytes
Instead of returning an error when bytes are left over, just return the number of actually used bytes as other decoders do. Instead add a special case so an error will be returned when none of the data looks valid to avoid making debugging a pain. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 4a72765a1c94b05bd3053b1f34f8457a3b71d714)
Diffstat (limited to 'libavcodec/mpegaudio_parser.c')
0 files changed, 0 insertions, 0 deletions