[FFmpeg-cvslog] lavc/libdavs2: fix frame dumping error description

hwrenx git at videolan.org
Sat Mar 23 09:04:23 EET 2019


ffmpeg | branch: master | hwrenx <hwrenx at 126.com> | Sat Mar 23 14:08:00 2019 +0800| [5252d594a155cdb0a0e2529961b999cda96f0fa5] | committer: Steven Liu

lavc/libdavs2: fix frame dumping error description

Reviewed-by: Steven Liu <lq at chinaffmpeg.org>
Signed-off-by: hwrenx <hwrenx at 126.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5252d594a155cdb0a0e2529961b999cda96f0fa5
---

 libavcodec/libdavs2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index b0eb4fd342..218f3ec239 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -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);
         }
 



More information about the ffmpeg-cvslog mailing list