diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index ad14d3b3c950dc342d20e55c6f10a7578a0a2cd8..d2e92b02b3833c8d143603349b736b4aa97c56b8 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -324,6 +324,10 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) } else if (type == FLV_TAG_TYPE_VIDEO) { is_audio=0; flags = get_byte(s->pb); + if ((flags & 0xf0) == 0x50) { /* video info / command frame */ + url_fskip(s->pb, size - 1); + continue; + } } else { if (type == FLV_TAG_TYPE_META && size > 13+1+4) flv_read_metabody(s, next);