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>
(cherry picked from commit 0e8b7709a9
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user