Commit f9708e9a authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Ronald S. Bultje

sunrast: Add a sample request for TIFF, IFF, and Experimental Rastfile formats.

Signed-off-by: 's avatarAneesh Dogra <lionaneesh@gmail.com>
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 415f358a
...@@ -90,8 +90,8 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, ...@@ -90,8 +90,8 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
buf += 32; buf += 32;
if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF || type == RT_EXPERIMENTAL) { if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF || type == RT_EXPERIMENTAL) {
av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); av_log_ask_for_sample(avctx, "unsupported (compression) type\n");
return -1; return AVERROR_PATCHWELCOME;
} }
if (type > RT_FORMAT_IFF) { if (type > RT_FORMAT_IFF) {
av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n"); av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n");
......
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