Commit ea8fc918 authored by Michael Niedermayer's avatar Michael Niedermayer

tiffenc: fix return value.

parent c038fb41
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment