diff options
author | Martin Storsjö <martin@martin.st> | 2010-01-23 02:09:08 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-23 02:09:08 +0300 |
commit | a52ce57d4e7c9baba0cc84fcc32301c60062fcd0 (patch) | |
tree | fbf32356f03aaf5b6e6569c006c8a41860aacd17 /libavformat/output-example.c | |
parent | 3deb53849e706b1ef932ff4f0c663f60275f8415 (diff) |
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
Diffstat (limited to 'libavformat/output-example.c')
-rw-r--r-- | libavformat/output-example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/output-example.c b/libavformat/output-example.c index 7eb3352b74..ac7db48284 100644 --- a/libavformat/output-example.c +++ b/libavformat/output-example.c @@ -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"); |