From 8e2fd8e1d424f3dda8b1966733a32c3842008896 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 8 Feb 2009 08:27:26 +0000 Subject: Replace the calls to the deprecated av_alloc_format_context() with corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 42ac417ac8..db0eafd8f0 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2778,7 +2778,7 @@ static void opt_input_file(const char *filename) !strcmp(filename, "/dev/stdin"); /* get default parameters from command line */ - ic = av_alloc_format_context(); + ic = avformat_alloc_context(); memset(ap, 0, sizeof(*ap)); ap->prealloced_context = 1; @@ -3267,7 +3267,7 @@ static void opt_output_file(const char *filename) if (!strcmp(filename, "-")) filename = "pipe:"; - oc = av_alloc_format_context(); + oc = avformat_alloc_context(); if (!file_oformat) { file_oformat = guess_format(NULL, filename, NULL); @@ -3900,7 +3900,7 @@ int main(int argc, char **argv) for(i=0; i