]> git.sesse.net Git - vlc/commitdiff
Fix NULL dereference (CID 254)
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Oct 2008 00:56:49 +0000 (02:56 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 9 Oct 2008 00:56:49 +0000 (02:56 +0200)
A typo/copypaste error confusing p_es->p_dec with p_es->p_dec_record

src/input/es_out.c

index a07832335849b368b17416c6fbbece545dc43f97..e9fda8a7b58505e727ec565033e07ce0775312b0 100644 (file)
@@ -640,7 +640,7 @@ static void EsOutDecoderChangeDelay( es_out_t *out, es_out_id_t *p_es )
         if( p_es->p_dec )
             input_DecoderChangeDelay( p_es->p_dec, i_delay );
         if( p_es->p_dec_record )
-            input_DecoderChangeDelay( p_es->p_dec, i_delay );
+            input_DecoderChangeDelay( p_es->p_dec_record, i_delay );
     }
 }