Commit 107b8e0d authored by michael's avatar michael

better error message patch by (Michel Bardiaux <mbardiaux peaktime be>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3961 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 67d4c790
......@@ -1725,7 +1725,7 @@ static int av_encode(AVFormatContext **output_files,
exit(1);
}
if (avcodec_open(&ost->st->codec, codec) < 0) {
fprintf(stderr, "Error while opening codec for stream #%d.%d - maybe incorrect parameters such as bit_rate, rate, width or height\n",
fprintf(stderr, "Error while opening codec for output stream #%d.%d - maybe incorrect parameters such as bit_rate, rate, width or height\n",
ost->file_index, ost->index);
exit(1);
}
......
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