aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mmsh.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-31 22:59:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-10-31 22:59:56 +0100
commit33789862aa5b0afa037c52185462ad7ef8ab33c9 (patch)
tree401db05dc291da8bf2aa5e42f08c314003ad9d5b /libavformat/mmsh.c
parent237bcaa27518e7439afc982112b83dedeab0cb6b (diff)
downloadffmpeg-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.c3
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;