You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/flvdec: correctly skip command frame for enhanced flv
This commit is contained in:
@@ -1444,6 +1444,10 @@ retry:
|
|||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (enhanced_flv && pkt_type != PacketTypeMetadata &&
|
||||||
|
(flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_VIDEO_INFO_CMD)
|
||||||
|
goto skip;
|
||||||
|
|
||||||
if (pkt_type == PacketTypeMultitrack) {
|
if (pkt_type == PacketTypeMultitrack) {
|
||||||
uint8_t types = avio_r8(s->pb);
|
uint8_t types = avio_r8(s->pb);
|
||||||
multitrack_type = types & 0xF0;
|
multitrack_type = types & 0xF0;
|
||||||
|
Reference in New Issue
Block a user