Commit 33789862 authored by Michael Niedermayer's avatar Michael Niedermayer

mmsh_read_seek: skip header

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 237bcaa2
...@@ -380,6 +380,9 @@ static int64_t mmsh_read_seek(URLContext *h, int stream_index, ...@@ -380,6 +380,9 @@ static int64_t mmsh_read_seek(URLContext *h, int stream_index,
av_freep(&mms->streams); av_freep(&mms->streams);
av_freep(&mms->asf_header); av_freep(&mms->asf_header);
av_free(mmsh); av_free(mmsh);
mmsh = h->priv_data;
mms = &mmsh->mms;
mms->asf_header_read_size= mms->asf_header_size;
}else }else
h->priv_data= mmsh; h->priv_data= mmsh;
return ret; return ret;
......
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