]> git.sesse.net Git - vlc/blobdiff - modules/codec/spudec/spudec.c
Merge commit 'origin/1.0-bugfix'
[vlc] / modules / codec / spudec / spudec.c
index eb2d8e1314cf0fbe65852bfcad6421acf6a74040..bd9be5d3fb2d0b8276bc60be1b18c6e12afa9d4e 100644 (file)
@@ -73,11 +73,8 @@ static int DecoderOpen( vlc_object_t *p_this )
     decoder_t     *p_dec = (decoder_t*)p_this;
     decoder_sys_t *p_sys;
 
-    if( p_dec->fmt_in.i_codec != VLC_CODEC_SPU &&
-        p_dec->fmt_in.i_codec != VLC_FOURCC( 's','p','u','b' ) )
-    {
+    if( p_dec->fmt_in.i_codec != VLC_CODEC_SPU )
         return VLC_EGENERIC;
-    }
 
     p_dec->p_sys = p_sys = malloc( sizeof( decoder_sys_t ) );