aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-01-22 23:09:08 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-22 23:09:08 +0000
commita52ce57d4e7c9baba0cc84fcc32301c60062fcd0 (patch)
treefbf32356f03aaf5b6e6569c006c8a41860aacd17
parent3deb53849e706b1ef932ff4f0c663f60275f8415 (diff)
downloadffmpeg-a52ce57d4e7c9baba0cc84fcc32301c60062fcd0.tar.gz
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
-rw-r--r--libavformat/output-example.c4
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");