mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
415f358a1f
commit
f9708e9a0e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user