History

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

Kostya Shishkov committed 16 years ago

Commit c5879101 parent 55903421 file · +1 −1Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t