diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 16:17:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 19:03:22 +0100 |
commit | ea8fc91886b39fd10b8e7950f879f515911d54b8 (patch) | |
tree | 07280a3cbb1d7f69b78487bfe861a411a246fd1e /libavcodec/tiffenc.c | |
parent | c038fb411bec255368a19cbdc1b54946845425eb (diff) | |
download | ffmpeg-streaming-ea8fc91886b39fd10b8e7950f879f515911d54b8.zip ffmpeg-streaming-ea8fc91886b39fd10b8e7950f879f515911d54b8.tar.gz |
tiffenc: fix return value.
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index c061ac9..8cda2b2 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -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) |