Commit a0b07b8f authored by Paul B Mahol's avatar Paul B Mahol Committed by Michael Niedermayer

vmdvideo: remove superfluous strings from av_log messages

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
Reviewed-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 89cd95b1
...@@ -306,7 +306,7 @@ static void vmd_decode(VmdVideoContext *s) ...@@ -306,7 +306,7 @@ static void vmd_decode(VmdVideoContext *s)
} }
} while (ofs < frame_width); } while (ofs < frame_width);
if (ofs > frame_width) { if (ofs > frame_width) {
av_log(s->avctx, AV_LOG_ERROR, "VMD video: offset > width (%d > %d)\n", av_log(s->avctx, AV_LOG_ERROR, "offset > width (%d > %d)\n",
ofs, frame_width); ofs, frame_width);
break; break;
} }
...@@ -355,7 +355,7 @@ static void vmd_decode(VmdVideoContext *s) ...@@ -355,7 +355,7 @@ static void vmd_decode(VmdVideoContext *s)
} }
} while (ofs < frame_width); } while (ofs < frame_width);
if (ofs > frame_width) { if (ofs > frame_width) {
av_log(s->avctx, AV_LOG_ERROR, "VMD video: offset > width (%d > %d)\n", av_log(s->avctx, AV_LOG_ERROR, "offset > width (%d > %d)\n",
ofs, frame_width); ofs, frame_width);
} }
dp += s->frame.linesize[0]; dp += s->frame.linesize[0];
...@@ -381,7 +381,7 @@ static av_cold int vmdvideo_decode_init(AVCodecContext *avctx) ...@@ -381,7 +381,7 @@ static av_cold int vmdvideo_decode_init(AVCodecContext *avctx)
/* make sure the VMD header made it */ /* make sure the VMD header made it */
if (s->avctx->extradata_size != VMD_HEADER_SIZE) { if (s->avctx->extradata_size != VMD_HEADER_SIZE) {
av_log(s->avctx, AV_LOG_ERROR, "VMD video: expected extradata size of %d\n", av_log(s->avctx, AV_LOG_ERROR, "expected extradata size of %d\n",
VMD_HEADER_SIZE); VMD_HEADER_SIZE);
return -1; return -1;
} }
...@@ -424,7 +424,7 @@ static int vmdvideo_decode_frame(AVCodecContext *avctx, ...@@ -424,7 +424,7 @@ static int vmdvideo_decode_frame(AVCodecContext *avctx,
s->frame.reference = 3; s->frame.reference = 3;
if (avctx->get_buffer(avctx, &s->frame)) { if (avctx->get_buffer(avctx, &s->frame)) {
av_log(s->avctx, AV_LOG_ERROR, "VMD Video: get_buffer() failed\n"); av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment