ffmpeg | branch: master | Dale Curtis <dalecur...@chromium.org> | Mon Jul 21 12:05:08 2014 -0700| [70f7006eb311f49f627f6d3f4f8c43260cc33aa0] | committer: Michael Niedermayer
avformat/mov: Pass through iTunSMPB from MOV. Allows demuxing of iTunes files into adts while preserving gapless metadata. Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70f7006eb311f49f627f6d3f4f8c43260cc33aa0 --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 9b4832f..cfe76cd 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog