summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-09-28 23:00:22 +0000
committerMike Melanson <mike@multimedia.cx>2002-09-28 23:00:22 +0000
commitb8bf5f226b22401936c8529b0b69436b56c86482 (patch)
tree7b3558c397934882f7bb1b579b536f0841952dcd
parent9ee0bd378dd61c08d4e7bbd82cb47c697011e72c (diff)
downloadxine-lib-b8bf5f226b22401936c8529b0b69436b56c86482.tar.gz
xine-lib-b8bf5f226b22401936c8529b0b69436b56c86482.tar.bz2
wow, 1 line makes all the difference between "working" and
"unpredictable segfaults" CVS patchset: 2758 CVS date: 2002/09/28 23:00:22
-rw-r--r--src/demuxers/demux_wc3movie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_wc3movie.c b/src/demuxers/demux_wc3movie.c
index 75d2797ef..7db24e33a 100644
--- a/src/demuxers/demux_wc3movie.c
+++ b/src/demuxers/demux_wc3movie.c
@@ -22,7 +22,7 @@
* For more information on the MVE file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_wc3movie.c,v 1.10 2002/09/28 22:47:01 tmmm Exp $
+ * $Id: demux_wc3movie.c,v 1.11 2002/09/28 23:00:22 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -719,6 +719,7 @@ static int demux_mve_seek (demux_plugin_t *this_gen,
* shot */
if (new_shot == -1)
new_shot = this->number_of_shots - 1;
+ this->current_shot = new_shot;
/* reposition the stream and signal the demux loop to reset pts */
this->input->seek(this->input, this->shot_offsets[new_shot], SEEK_SET);