aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-03-16 15:48:48 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-03-16 15:48:48 +0000
commit562f22a69973d341b0eb19f30cfaf451dcb148ae (patch)
tree70bca15f956a62364dd57cc04325677b4fc95dfd /ffmpeg.c
parent4693b031a3717658a1c0b4351887d557d0684ec4 (diff)
downloadffmpeg-562f22a69973d341b0eb19f30cfaf451dcb148ae.tar.gz
Typo: if output (video) stream's pix_fmt is not set, then the stream cannot
be ENcoded, not DEcoded. Originally committed as revision 22566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 61b8332127..d0af510c99 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1920,7 +1920,7 @@ static int av_encode(AVFormatContext **output_files,
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);