Browse Source

There is no need to print FFmpeg or codec name in error message

Originally committed as revision 20913 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov 16 years ago
parent
commit
c587910696
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cyuv.c

+ 1
- 1
libavcodec/cyuv.c View File

@@ -87,7 +87,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
* of 4 pixels. Thus, the total size of the buffer ought to be:
* (3 * 16) + height * (width * 3 / 4) */
if (buf_size != 48 + s->height * (s->width * 3 / 4)) {
av_log(avctx, AV_LOG_ERROR, "ffmpeg: cyuv: got a buffer with %d bytes when %d were expected\n",
av_log(avctx, AV_LOG_ERROR, "got a buffer with %d bytes when %d were expected\n",
buf_size, 48 + s->height * (s->width * 3 / 4));
return -1;
}


Loading…
Cancel
Save