From a52ce57d4e7c9baba0cc84fcc32301c60062fcd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 22 Jan 2010 23:09:08 +0000 Subject: [PATCH] Replace deprecated guess_format() with av_guess_format(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Martin Storsjö reverse(). Originally committed as revision 21387 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/output-example.c | 4 ++-- 1 file 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");