From a2a38d9665802a2b53d6c864128ecb06db96e19c Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Mon, 5 Sep 2011 11:39:09 +0200
Subject: [PATCH] avconv: fix parsing metadata specifiers.

After 039267f192f335144d9251e6f05a1513dd1e8ef1, metadata specifiers are
passed without the leading ':'. Remove a ++ that didn't take this into
account.
---
 avconv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/avconv.c b/avconv.c
index d941e695b1e..09d4886b958 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;
-- 
GitLab