[FFmpeg-cvslog] avcodec/vmdvideo: fix log error message

Paul B Mahol git at videolan.org
Sun Oct 27 13:23:03 EET 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct 27 12:12:24 2019 +0100| [ebff4bbd82c371bab6635de5793ce93c1f62642d] | committer: Paul B Mahol

avcodec/vmdvideo: fix log error message

Fixes #8339

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

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

diff --git a/libavcodec/vmdvideo.c b/libavcodec/vmdvideo.c
index b97032ff7e..c1dc5b9696 100644
--- a/libavcodec/vmdvideo.c
+++ b/libavcodec/vmdvideo.c
@@ -226,7 +226,7 @@ static int vmd_decode(VmdVideoContext *s, AVFrame *frame)
         frame_y + frame_height > s->avctx->height) {
         av_log(s->avctx, AV_LOG_ERROR,
                "Invalid vertical range %d-%d\n",
-               frame_x, frame_width);
+               frame_y, frame_height);
         return AVERROR_INVALIDDATA;
     }
 



More information about the ffmpeg-cvslog mailing list