mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-28 10:13:22 +00:00
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:
parent
e767c9e8f2
commit
15621cbbe4
@ -194,8 +194,6 @@ static int asfrtp_parse_packet(AVFormatContext *s, PayloadContext *asf,
|
|||||||
int start_off = avio_tell(pb);
|
int start_off = avio_tell(pb);
|
||||||
|
|
||||||
mflags = avio_r8(pb);
|
mflags = avio_r8(pb);
|
||||||
if (mflags & 0x80)
|
|
||||||
flags |= RTP_FLAG_KEY;
|
|
||||||
len_off = avio_rb24(pb);
|
len_off = avio_rb24(pb);
|
||||||
if (mflags & 0x20) /**< relative timestamp */
|
if (mflags & 0x20) /**< relative timestamp */
|
||||||
avio_skip(pb, 4);
|
avio_skip(pb, 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user