Commit 4af07b63 authored by stefano's avatar stefano

Replace deprecated guess_format() with av_guess_format().

Patch by Martin Storsjö reverse(<ts.nitram@nitram>).


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21387 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e04fee76
......@@ -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");
......
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