mmsh_read_seek: skip header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-31 22:59:56 +01:00
parent 237bcaa275
commit 33789862aa
1 changed files with 3 additions and 0 deletions

View File

@ -380,6 +380,9 @@ static int64_t mmsh_read_seek(URLContext *h, int stream_index,
av_freep(&mms->streams);
av_freep(&mms->asf_header);
av_free(mmsh);
mmsh = h->priv_data;
mms = &mmsh->mms;
mms->asf_header_read_size= mms->asf_header_size;
}else
h->priv_data= mmsh;
return ret;