summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-04 17:26:15 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-04 17:26:15 +0000
commit2afd232d6d9b3b09636729505d8fd32a1cc51abb (patch)
treedb9c5dc3cbdad70c6982f5f0553feafb0703ce67 /src
parent069640aeac9a16a3dcb91376dfe0b6e348da2913 (diff)
downloadxine-lib-2afd232d6d9b3b09636729505d8fd32a1cc51abb.tar.gz
xine-lib-2afd232d6d9b3b09636729505d8fd32a1cc51abb.tar.bz2
Playing the same file after a xine_stop() was unworkable. Fixed (i hope i
haven't break anything). CVS patchset: 1851 CVS date: 2002/05/04 17:26:15
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_avi.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index d7e1cace9..e71d2687f 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_avi.c,v 1.81 2002/04/29 23:31:59 jcdutton Exp $
+ * $Id: demux_avi.c,v 1.82 2002/05/04 17:26:15 f1rmb Exp $
*
* demultiplexer for avi streams
*
@@ -1237,11 +1237,10 @@ static int demux_avi_open(demux_plugin_t *this_gen,
this->input = input;
- if (strncmp(this->last_mrl, input->get_mrl (input), 1024)) {
- if (this->avi)
- AVI_close (this->avi);
- this->avi = AVI_init (this);
- }
+ if (this->avi)
+ AVI_close (this->avi);
+
+ this->avi = AVI_init (this);
if (this->avi) {
@@ -1278,11 +1277,10 @@ static int demux_avi_open(demux_plugin_t *this_gen,
this->input = input;
- if (strncmp(this->last_mrl, input->get_mrl (input), 1024)) {
- if (this->avi)
- AVI_close (this->avi);
- this->avi = AVI_init (this);
- }
+ if (this->avi)
+ AVI_close (this->avi);
+
+ this->avi = AVI_init (this);
if (this->avi) {
strncpy(this->last_mrl, input->get_mrl (input), 1024);