diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2014-07-21 12:05:08 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-22 02:11:48 +0200 |
commit | 70f7006eb311f49f627f6d3f4f8c43260cc33aa0 (patch) | |
tree | 531b805f5574d80a46129fde86e18003aeabed79 | |
parent | 42f3bc40726593b309362853e1ef233b8efa50d5 (diff) | |
download | ffmpeg-70f7006eb311f49f627f6d3f4f8c43260cc33aa0.tar.gz |
avformat/mov: Pass through iTunSMPB from MOV.
Allows demuxing of iTunes files into adts while preserving gapless
metadata.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 9b4832fb34..cfe76cde4b 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; |