|
|
@@ -93,7 +93,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, |
|
|
av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); |
|
|
av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); |
|
|
return -1; |
|
|
return -1; |
|
|
} |
|
|
} |
|
|
if (type < RT_OLD || 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"); |
|
|
return -1; |
|
|
return -1; |
|
|
} |
|
|
} |
|
|
|