From adc278788bf14b59c7a1c8ced1a00348cbe2ded9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 28 Dec 2011 10:38:19 +0100 Subject: [PATCH] mov: annotate read values in tmcd track. --- libavformat/mov.c | 6 +++--- 1 file 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, ...) */