From 15621cbbe4ed88409ef40257afaf239487964e98 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 4 Mar 2015 09:52:33 +0200 Subject: rtpdec_asf: Don't set RTP_FLAG_KEY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nothing in the framework nor in the rest of the depacketizer actually uses this flag - the chained demuxer sets the keyframe flag properly on demuxed packets already. Signed-off-by: Martin Storsjö --- libavformat/rtpdec_asf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/rtpdec_asf.c') diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c index 23bf31c69b..3ca3f71972 100644 --- a/libavformat/rtpdec_asf.c +++ b/libavformat/rtpdec_asf.c @@ -194,8 +194,6 @@ static int asfrtp_parse_packet(AVFormatContext *s, PayloadContext *asf, int start_off = avio_tell(pb); mflags = avio_r8(pb); - if (mflags & 0x80) - flags |= RTP_FLAG_KEY; len_off = avio_rb24(pb); if (mflags & 0x20) /**< relative timestamp */ avio_skip(pb, 4); -- cgit v1.2.3