From 4632abc7a3a64b23c243b21cae7a08e5af92231e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 24 Nov 2012 07:55:42 +0100 Subject: [PATCH] avconv: fix copying per-stream metadata. It is handled separately from other types because it uses stream specifiers and currently that triggers an assert in SET_DICT. CC:libav-stable@libav.org --- avconv_opt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avconv_opt.c b/avconv_opt.c index 03544545c9..0ea2f45d7e 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -351,6 +351,8 @@ static int copy_metadata(char *outspec, char *inspec, AVFormatContext *oc, AVFor METADATA_CHECK_INDEX(index, context->nb_programs, "program")\ meta = &context->programs[index]->metadata;\ break;\ + case 's':\ + break; /* handled separately below */ \ default: av_assert0(0);\ }\