Commit 28206b75 authored by John Adlum's avatar John Adlum Committed by Michael Niedermayer

avformat/asfdec_f: Correct skip to key code

Fixes Ticket3978
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 089a818b
......@@ -1208,7 +1208,8 @@ static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt)
continue;
}
asf->asf_st = &asf->streams[s->streams[asf->stream_index]->id];
asf->asf_st->skip_to_key = 0;
if (!asf->packet_frag_offset)
asf->asf_st->skip_to_key = 0;
}
asf_st = asf->asf_st;
av_assert0(asf_st);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment