mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
lavc/libdavs2: fix frame dumping error description
Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
This commit is contained in:
parent
bf05f621d5
commit
5252d594a1
@ -107,7 +107,7 @@ static int davs2_dump_frames(AVCodecContext *avctx, davs2_picture_t *pic, int *g
|
||||
frame->buf[plane] = av_buffer_alloc(size_line * pic->lines[plane]);
|
||||
|
||||
if (!frame->buf[plane]){
|
||||
av_log(avctx, AV_LOG_ERROR, "dump error: alloc failed.\n");
|
||||
av_log(avctx, AV_LOG_ERROR, "Decoder error: allocation failure, can't dump frames.\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user