[FFmpeg-cvslog] r22566 - trunk/ffmpeg.c

rbultje subversion
Tue Mar 16 16:48:48 CET 2010


Author: rbultje
Date: Tue Mar 16 16:48:48 2010
New Revision: 22566

Log:
Typo: if output (video) stream's pix_fmt is not set, then the stream cannot
be ENcoded, not DEcoded.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Tue Mar 16 02:17:00 2010	(r22565)
+++ trunk/ffmpeg.c	Tue Mar 16 16:48:48 2010	(r22566)
@@ -1920,7 +1920,7 @@ static int av_encode(AVFormatContext **o
                 break;
             case CODEC_TYPE_VIDEO:
                 if (ost->st->codec->pix_fmt == PIX_FMT_NONE) {
-                    fprintf(stderr, "Video pixel format is unknown, stream cannot be decoded\n");
+                    fprintf(stderr, "Video pixel format is unknown, stream cannot be encoded\n");
                     av_exit(1);
                 }
                 ost->video_crop = ((frame_leftBand + frame_rightBand + frame_topBand + frame_bottomBand) != 0);



More information about the ffmpeg-cvslog mailing list