mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
mov: annotate read values in tmcd track.
This commit is contained in:
parent
2aa7375a98
commit
adc278788b
@ -1372,9 +1372,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
|
|||||||
val = avio_rb32(pb); /* flags */
|
val = avio_rb32(pb); /* flags */
|
||||||
if (val & 1)
|
if (val & 1)
|
||||||
st->codec->flags2 |= CODEC_FLAG2_DROP_FRAME_TIMECODE;
|
st->codec->flags2 |= CODEC_FLAG2_DROP_FRAME_TIMECODE;
|
||||||
avio_rb32(pb);
|
avio_rb32(pb); /* time scale */
|
||||||
avio_rb32(pb);
|
avio_rb32(pb); /* frame duration */
|
||||||
st->codec->time_base.den = avio_r8(pb);
|
st->codec->time_base.den = avio_r8(pb); /* number of frame */
|
||||||
st->codec->time_base.num = 1;
|
st->codec->time_base.num = 1;
|
||||||
}
|
}
|
||||||
/* other codec type, just skip (rtp, mp4s, ...) */
|
/* other codec type, just skip (rtp, mp4s, ...) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user