mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avcodec/xwdenc: use AV_LOG_ERROR in error message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
9bc59c108b
commit
5e66d8ac63
@ -138,7 +138,7 @@ static int xwd_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
vclass = XWD_STATIC_GRAY;
|
vclass = XWD_STATIC_GRAY;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n");
|
av_log(avctx, AV_LOG_ERROR, "unsupported pixel format\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user