diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2011-12-28 10:38:19 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-01-05 20:59:52 +0100 |
commit | adc278788bf14b59c7a1c8ced1a00348cbe2ded9 (patch) | |
tree | 1447de19fed63a7014707de8fa858ec864b21017 /libavformat/mov.c | |
parent | 2aa7375a9815bebee6e92566fdd1e61cdc312509 (diff) | |
download | ffmpeg-adc278788bf14b59c7a1c8ced1a00348cbe2ded9.tar.gz |
mov: annotate read values in tmcd track.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 9db6abac61..5923fb7f82 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1372,9 +1372,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries) val = avio_rb32(pb); /* flags */ if (val & 1) st->codec->flags2 |= CODEC_FLAG2_DROP_FRAME_TIMECODE; - avio_rb32(pb); - avio_rb32(pb); - st->codec->time_base.den = avio_r8(pb); + avio_rb32(pb); /* time scale */ + avio_rb32(pb); /* frame duration */ + st->codec->time_base.den = avio_r8(pb); /* number of frame */ st->codec->time_base.num = 1; } /* other codec type, just skip (rtp, mp4s, ...) */ |