diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-01-28 18:34:15 +0530 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-29 08:11:18 -0800 |
commit | f9708e9a0e76d3dfa89f175edde68d8cadb02763 (patch) | |
tree | a6af2f7836c65703bab7b8c1b023b81f8a67db63 | |
parent | 415f358a1f926878fc7bc31715cc6d221e372fa0 (diff) | |
download | ffmpeg-f9708e9a0e76d3dfa89f175edde68d8cadb02763.tar.gz |
sunrast: Add a sample request for TIFF, IFF, and Experimental Rastfile formats.
Signed-off-by: Aneesh Dogra <lionaneesh@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r-- | libavcodec/sunrast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 23f1e6fae9..601ba6efc9 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -90,8 +90,8 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, buf += 32; if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF || type == RT_EXPERIMENTAL) { - av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); - return -1; + av_log_ask_for_sample(avctx, "unsupported (compression) type\n"); + return AVERROR_PATCHWELCOME; } if (type > RT_FORMAT_IFF) { av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n"); |