rtpdec_asf: Don't set RTP_FLAG_KEY

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ö <martin@martin.st>
pull/121/merge
Martin Storsjö 10 years ago
parent e767c9e8f2
commit 15621cbbe4
  1. 2
      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);

Loading…
Cancel
Save