[FFmpeg-cvslog] avformat/mov: Pass through iTunSMPB from MOV.
Dale Curtis
git at videolan.org
Tue Jul 22 02:32:07 CEST 2014
ffmpeg | branch: master | Dale Curtis <dalecurtis at 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 <michaelni at 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;
More information about the ffmpeg-cvslog
mailing list