OSDN Git Service

ac3dec: avoid pointless alloc and indirection for input_buffer
[coroid/libav_saccubus.git] / avconv.c
index d941e69..09d4886 100644 (file)
--- 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;