-rw-r--r-- | libavcodec/avcodec.h | 1 | ||||
-rw-r--r-- | libavformat/mov.c | 1 | ||||
-rwxr-xr-x | libavformat/mpegts.c | 51 |
3 files changed, 52 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 0fb4dde..2b6c4bf 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -183,6 +183,7 @@ static int mov_read_custom_metadata(MOVContext *c, AVIOContext *pb, MOVAtom atom if (*key && *data) { if (strcmp(key, "iTunSMPB") == 0) { + av_dict_set(&st->metadata, key, data, 0); int priming, remainder, samples; if(sscanf(data, "%*X %X %X %X", &priming, &remainder, &samples) == 3){ if(priming>0 && priming<16384) |