1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00

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>
This commit is contained in:
Dale Curtis 2014-07-21 12:05:08 -07:00 committed by Michael Niedermayer
parent 42f3bc4072
commit 70f7006eb3

View File

@ -2534,8 +2534,8 @@ static int mov_read_custom_2plus(MOVContext *c, AVIOContext *pb, int size)
if(priming>0 && priming<16384) if(priming>0 && priming<16384)
sc->start_pad = priming; 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_set(&c->fc->metadata, key, val,
AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL); AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL);
key = val = NULL; key = val = NULL;