mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
Replace deprecated guess_format() with av_guess_format().
Patch by Martin Storsjö reverse(<ts.nitram@nitram>). Originally committed as revision 21387 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3deb53849e
commit
a52ce57d4e
@ -447,10 +447,10 @@ int main(int argc, char **argv)
|
||||
|
||||
/* auto detect the output format from the name. default is
|
||||
mpeg. */
|
||||
fmt = guess_format(NULL, filename, NULL);
|
||||
fmt = av_guess_format(NULL, filename, NULL);
|
||||
if (!fmt) {
|
||||
printf("Could not deduce output format from file extension: using MPEG.\n");
|
||||
fmt = guess_format("mpeg", NULL, NULL);
|
||||
fmt = av_guess_format("mpeg", NULL, NULL);
|
||||
}
|
||||
if (!fmt) {
|
||||
fprintf(stderr, "Could not find suitable output format\n");
|
||||
|
Loading…
Reference in New Issue
Block a user