summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-05 11:39:09 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-05 12:11:10 +0200
commita2a38d9665802a2b53d6c864128ecb06db96e19c (patch)
treee5a3fca524166cb5ba7ea18147fe6ba151fced15 /avconv.c
parentbc5acfa7af01d7ac947159b3337d41692e29ee8a (diff)
avconv: fix parsing metadata specifiers.
After 039267f192f335144d9251e6f05a1513dd1e8ef1, metadata specifiers are passed without the leading ':'. Remove a ++ that didn't take this into account.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index d941e695b1..09d4886b95 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2730,7 +2730,7 @@ static int opt_map(OptionsContext *o, const char *opt, const char *arg)
static void parse_meta_type(char *arg, char *type, int *index)
{
if (*arg) {
- *type = *(++arg);
+ *type = *arg;
switch (*arg) {
case 'g':
break;