1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

tiffenc: fix return value.

This commit is contained in:
Michael Niedermayer 2012-03-22 16:17:30 +01:00
parent c038fb411b
commit ea8fc91886

View File

@ -463,7 +463,7 @@ fail:
av_free(strip_sizes);
av_free(strip_offsets);
av_free(yuv_line);
return ret;
return ret < 0 ? ret : 0;
}
#define OFFSET(x) offsetof(TiffEncoderContext, x)