diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-03 17:50:26 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-05-14 19:09:00 +0200 |
commit | 99e737a7c787875b6c123e0b2ac32276fbeb5852 (patch) | |
tree | 38ccdd4db591c9268022983dcb97fb470c479de3 /cmdutils_opencl.c | |
parent | 835037506bc3ca09a28dbbb25f122423f2c74283 (diff) | |
download | ffmpeg-99e737a7c787875b6c123e0b2ac32276fbeb5852.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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'cmdutils_opencl.c')
0 files changed, 0 insertions, 0 deletions