From 2d0aefd62608e1cc9a804bbd4eee68e0f10c5626 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 7 Mar 2007 08:34:52 +0000 Subject: [PATCH] only store command line parameters in contexts with matching codec_type Originally committed as revision 8282 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 25604d7e9c..db3f4328e9 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3507,9 +3507,14 @@ static void show_version(void) static int opt_default(const char *opt, const char *arg){ int type; - const AVOption *o; - for(type=0; type