mov: annotate read values in tmcd track.

pull/3/head
Clément Bœsch 13 years ago committed by Clément Bœsch
parent 2aa7375a98
commit adc278788b
  1. 6
      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, ...) */

Loading…
Cancel
Save