From: Dale Curtis Date: Mon, 21 Jul 2014 19:05:08 +0000 (-0700) Subject: avformat/mov: Pass through iTunSMPB from MOV. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=70f7006eb311f49f627f6d3f4f8c43260cc33aa0;p=ffmpeg avformat/mov: Pass through iTunSMPB from MOV. Allows demuxing of iTunes files into adts while preserving gapless metadata. Signed-off-by: Michael Niedermayer --- diff --git a/libavformat/mov.c b/libavformat/mov.c index 9b4832fb340..cfe76cde4bf 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2534,8 +2534,8 @@ static int mov_read_custom_2plus(MOVContext *c, AVIOContext *pb, int size) if(priming>0 && priming<16384) sc->start_pad = priming; } - } else if (strcmp(key, "cdec") == 0) { - } else { + } + if (strcmp(key, "cdec") != 0) { av_dict_set(&c->fc->metadata, key, val, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL); key = val = NULL;