mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
avcodec/sunrast: Fix return type for "unsupported (compression) type"
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
25a501b528
commit
0e8b7709a9
@ -72,7 +72,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
|
|
||||||
if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF) {
|
if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n");
|
av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n");
|
||||||
return -1;
|
return AVERROR_PATCHWELCOME;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (depth) {
|
switch (depth) {
|
||||||
|
Loading…
Reference in New Issue
Block a user