Skip to content

Commit

Permalink
There is no need to print FFmpeg or codec name in error message
Browse files Browse the repository at this point in the history
Originally committed as revision 20913 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
Kostya Shishkov committed Dec 23, 2009
1 parent 5590342 commit c587910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/cyuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c587910

Please sign in to comment.