Commit dd4c7d4e authored by rbultje's avatar rbultje

Typo: if output (video) stream's pix_fmt is not set, then the stream cannot

be ENcoded, not DEcoded.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba6f29eb
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment