avconv: fix parsing metadata specifiers.
After 039267f192f335144d9251e6f05a1513dd1e8ef1, metadata specifiers are passed without the leading ':'. Remove a ++ that didn't take this into account.
This commit is contained in:
parent
bc5acfa7af
commit
a2a38d9665
2
avconv.c
2
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)
|
static void parse_meta_type(char *arg, char *type, int *index)
|
||||||
{
|
{
|
||||||
if (*arg) {
|
if (*arg) {
|
||||||
*type = *(++arg);
|
*type = *arg;
|
||||||
switch (*arg) {
|
switch (*arg) {
|
||||||
case 'g':
|
case 'g':
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user