[FFmpeg-cvslog] avconv: fix parsing metadata specifiers.
Anton Khirnov
git at videolan.org
Mon Sep 5 22:55:41 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Sep 5 11:39:09 2011 +0200| [a2a38d9665802a2b53d6c864128ecb06db96e19c] | committer: Anton Khirnov
avconv: fix parsing metadata specifiers.
After 039267f192f335144d9251e6f05a1513dd1e8ef1, metadata specifiers are
passed without the leading ':'. Remove a ++ that didn't take this into
account.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2a38d9665802a2b53d6c864128ecb06db96e19c
---
avconv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/avconv.c b/avconv.c
index d941e69..09d4886 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;
More information about the ffmpeg-cvslog
mailing list