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>
This commit is contained in:
Martin Storsjö 2015-03-04 09:52:33 +02:00
parent e767c9e8f2
commit 15621cbbe4
1 changed files with 0 additions and 2 deletions

View File

@ -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);