From ebff4bbd82c371bab6635de5793ce93c1f62642d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 27 Oct 2019 12:12:24 +0100 Subject: [PATCH] avcodec/vmdvideo: fix log error message Fixes #8339 --- 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; }