aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodsp.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-06 10:02:50 +0100
committerReinhard Tartler <siretart@tauware.de>2013-03-09 18:01:09 +0100
commit60dd8b5733f9ec4919fbc732ace1be8184dde880 (patch)
treebda303a3938773f93a18e2b82465310ee0fbac51 /libavcodec/mpegaudiodsp.c
parent77cf052e395b1fac8dd181d4f76b0101d1acd625 (diff)
downloadffmpeg-60dd8b5733f9ec4919fbc732ace1be8184dde880.tar.gz
wmaprodec: return an error, not 0, when the input is too small.
Returning 0 may result in an infinite loop in valid calling programs. A decoder should never return 0 without producing any output. CC:libav-stable@libav.org (cherry picked from commit 4c0080b7e7d501e2720d2a61f5186a18377f9d63) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/mpegaudiodsp.c')
0 files changed, 0 insertions, 0 deletions