]> git.sesse.net Git - vlc/commitdiff
*Fixed a typo that made spudec selection fail.
authorStéphane Borel <stef@videolan.org>
Sat, 14 Sep 2002 20:50:24 +0000 (20:50 +0000)
committerStéphane Borel <stef@videolan.org>
Sat, 14 Sep 2002 20:50:24 +0000 (20:50 +0000)
modules/codec/spudec/spudec.c

index 5dba155d6ea4af2d1951aa5bb208eb3283a6fb09..ea4c46cd006658f079258c1393b0d7229d89cfef 100644 (file)
@@ -2,7 +2,7 @@
  * spudec.c : SPU decoder thread
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: spudec.c,v 1.3 2002/08/30 22:22:24 massiot Exp $
+ * $Id: spudec.c,v 1.4 2002/09/14 20:50:24 stef Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -69,7 +69,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     decoder_fifo_t *p_fifo = (decoder_fifo_t*) p_this;
 
     if( p_fifo->i_fourcc == VLC_FOURCC('s','p','u',' ')
-         && p_fifo->i_fourcc == VLC_FOURCC('s','p','u','b') )
+         || p_fifo->i_fourcc == VLC_FOURCC('s','p','u','b') )
     {   
         p_fifo->pf_run = RunDecoder;
         return VLC_SUCCESS;