mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-05 23:11:03 +00:00
mov: fix trun / pseudo_stream_id handling
This fixes simple concatenated h264 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
95666b2298
commit
ebb8dd437b
1 changed files with 1 additions and 1 deletions
|
@ -2636,7 +2636,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
sc = st->priv_data;
|
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;
|
return 0;
|
||||||
avio_r8(pb); /* version */
|
avio_r8(pb); /* version */
|
||||||
flags = avio_rb24(pb);
|
flags = avio_rb24(pb);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue