Nothing in the framework actually uses this flag - the chained
demuxer sets the keyframe flag properly on demuxed packets already.
---
libavformat/rtpdec_asf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 23bf31c..3ca3f71 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);
--
1.9.3 (Apple Git-50)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel