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,6 +1208,7 @@ static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt) ...@@ -1208,6 +1208,7 @@ static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt)
continue; continue;
} }
asf->asf_st = &asf->streams[s->streams[asf->stream_index]->id]; asf->asf_st = &asf->streams[s->streams[asf->stream_index]->id];
if (!asf->packet_frag_offset)
asf->asf_st->skip_to_key = 0; asf->asf_st->skip_to_key = 0;
} }
asf_st = asf->asf_st; asf_st = asf->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