diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-06 10:02:50 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-05-09 11:20:11 +0200 |
commit | 5025dbc577c9a9e0109cb363ac630a9eeda6dc1d (patch) | |
tree | 5e1419ba64987d58f825c2b28235f0e004ab6941 /libavcodec/opt.h | |
parent | d86a5ce03f6993aaf7a28f2c2b29a788d7ea76ab (diff) | |
download | ffmpeg-5025dbc577c9a9e0109cb363ac630a9eeda6dc1d.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>
(cherry picked from commit 60dd8b5733f9ec4919fbc732ace1be8184dde880)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/opt.h')
0 files changed, 0 insertions, 0 deletions