]> git.sesse.net Git - ffmpeg/commitdiff
lavc/libdavs2: fix frame dumping error description
authorhwrenx <hwrenx@126.com>
Sat, 23 Mar 2019 06:08:00 +0000 (14:08 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sat, 23 Mar 2019 06:08:00 +0000 (14:08 +0800)
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: hwrenx <hwrenx@126.com>
libavcodec/libdavs2.c

index b0eb4fd3422ef77bfb68b2a75a996c45006ce9f8..218f3ec2396baa6ed2a203296e2787a792558dbf 100644 (file)
@@ -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);
         }