From b8bf5f226b22401936c8529b0b69436b56c86482 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sat, 28 Sep 2002 23:00:22 +0000 Subject: wow, 1 line makes all the difference between "working" and "unpredictable segfaults" CVS patchset: 2758 CVS date: 2002/09/28 23:00:22 --- src/demuxers/demux_wc3movie.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3