diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-31 22:59:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-31 22:59:56 +0100 |
commit | 33789862aa5b0afa037c52185462ad7ef8ab33c9 (patch) | |
tree | 401db05dc291da8bf2aa5e42f08c314003ad9d5b /libavformat/mmsh.c | |
parent | 237bcaa27518e7439afc982112b83dedeab0cb6b (diff) | |
download | ffmpeg-33789862aa5b0afa037c52185462ad7ef8ab33c9.tar.gz |
mmsh_read_seek: skip header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mmsh.c')
-rw-r--r-- | libavformat/mmsh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c index 3b493ee61c..a7c85f6a34 100644 --- a/libavformat/mmsh.c +++ b/libavformat/mmsh.c @@ -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; |