[FFmpeg-cvslog] rtpdec_asf: Don't set RTP_FLAG_KEY
Martin Storsjö
git at videolan.org
Thu Mar 5 01:20:16 CET 2015
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Mar 4 09:52:33 2015 +0200| [15621cbbe4ed88409ef40257afaf239487964e98] | committer: Martin Storsjö
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 at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15621cbbe4ed88409ef40257afaf239487964e98
---
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);
More information about the ffmpeg-cvslog
mailing list