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:
parent
c038fb411b
commit
ea8fc91886
@ -463,7 +463,7 @@ fail:
|
|||||||
av_free(strip_sizes);
|
av_free(strip_sizes);
|
||||||
av_free(strip_offsets);
|
av_free(strip_offsets);
|
||||||
av_free(yuv_line);
|
av_free(yuv_line);
|
||||||
return ret;
|
return ret < 0 ? ret : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define OFFSET(x) offsetof(TiffEncoderContext, x)
|
#define OFFSET(x) offsetof(TiffEncoderContext, x)
|
||||||
|
Loading…
Reference in New Issue
Block a user