]> git.sesse.net Git - vlc/commitdiff
Another typo: SPU_ES mixed up with AUDIO_ES. (CID 250)
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Oct 2008 01:14:08 +0000 (03:14 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Oct 2008 01:14:08 +0000 (03:14 +0200)
src/input/es_out.c

index e9fda8a7b58505e727ec565033e07ce0775312b0..5fa4efa77084398e63490d81f0dd13c56d52c000 100644 (file)
@@ -470,7 +470,7 @@ void input_EsOutSetDelay( es_out_t *out, int i_cat, int64_t i_delay )
 
     if( i_cat == AUDIO_ES )
         p_sys->i_audio_delay = i_delay;
-    else if( i_cat == AUDIO_ES )
+    else if( i_cat == SPU_ES )
         p_sys->i_spu_delay = i_delay;
 
     for( int i = 0; i < p_sys->i_es; i++ )