diff mbox

[FFmpeg-devel,v1,2/2] lavc/libdavs2: fix frame dumping error description

Message ID 1553133499-30357-2-git-send-email-hwrenx@126.com
State Accepted
Commit 5252d594a155cdb0a0e2529961b999cda96f0fa5
Headers show

Commit Message

hwren March 21, 2019, 1:58 a.m. UTC
Signed-off-by: hwrenx <hwrenx@126.com>
---
 libavcodec/libdavs2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index b0eb4fd..218f3ec 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);
         }