summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-07 08:55:25 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-09 19:35:20 +0200
commit19615089a044520432b8b28e0ed555cc0195416a (patch)
treee6efa4dffeeecfa692143f730f4d5104d8be51c9 /cmdutils.c
parent1435f2fa72b142b11e92a0c2715fd9516364e7db (diff)
ffmpeg.c: reset avoptions after each input/output file.
This is consistent with how all the other options work.
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 9da07223f5..f770c7963d 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -88,6 +88,7 @@ void uninit_opts(void)
}
av_freep(&opt_names);
av_freep(&opt_values);
+ opt_name_count = 0;
}
void log_callback_help(void* ptr, int level, const char* fmt, va_list vl)