diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-03 17:50:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-21 20:43:37 +0200 |
commit | b04f6dfd3c52bdf1be8158b5d0b8822b60c82432 (patch) | |
tree | 9a16b75700be0d70338313a023f95a7f08bb1e50 /libavfilter | |
parent | c3653e2265d1d7f73d3b4596d2f67db12456116a (diff) | |
download | ffmpeg-b04f6dfd3c52bdf1be8158b5d0b8822b60c82432.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>
(cherry picked from commit 8f760be4d312bb6e78f80d39b9d0062253332e08)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions