mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avformat/mov: Fix parsing of tfdt when using sample descriptors.
Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a2356e5091
commit
b08c132a9c
@ -4601,7 +4601,7 @@ static int mov_read_tfdt(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
sc = st->priv_data;
|
||||
if (sc->pseudo_stream_id + 1 != frag->stsd_id)
|
||||
if (sc->pseudo_stream_id + 1 != frag->stsd_id && sc->pseudo_stream_id != -1)
|
||||
return 0;
|
||||
version = avio_r8(pb);
|
||||
avio_rb24(pb); /* flags */
|
||||
|
Loading…
x
Reference in New Issue
Block a user