mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
better error message patch by (Michel Bardiaux <mbardiaux peaktime be>)
Originally committed as revision 3961 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6118e52ea6
commit
3d38fd1cd4
2
ffmpeg.c
2
ffmpeg.c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user