[FFmpeg-cvslog] mmsh_read_seek: skip header

Michael Niedermayer git at videolan.org
Mon Oct 31 23:08:00 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 31 22:59:56 2011 +0100| [33789862aa5b0afa037c52185462ad7ef8ab33c9] | committer: Michael Niedermayer

mmsh_read_seek: skip header

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33789862aa5b0afa037c52185462ad7ef8ab33c9
---

 libavformat/mmsh.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c
index 3b493ee..a7c85f6 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;



More information about the ffmpeg-cvslog mailing list