diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-03 17:50:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-03 20:28:35 +0200 |
commit | 8f760be4d312bb6e78f80d39b9d0062253332e08 (patch) | |
tree | 181bab8147b1551d231dd5efb25b905ede49005b /libavcodec/indeo3data.h | |
parent | 287dbb0771d558b336e377d0594e26c0a6291755 (diff) | |
download | ffmpeg-8f760be4d312bb6e78f80d39b9d0062253332e08.tar.gz |
pngdec: return correct error code from decode_frame_common
During the loop ret can get changed. Since it is not set on all failure
paths, decode_frame_common can return 0 even though an error occurred.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/indeo3data.h')
0 files changed, 0 insertions, 0 deletions