[vlc-devel] commit: Fix NULL dereference (CID 254) (Derk-Jan Hartman )

git version control git at videolan.org
Thu Oct 9 02:58:09 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Oct  9 02:56:49 2008 +0200| [413c4eac043600c14f8d52382553f04a5c6980ad] | committer: Derk-Jan Hartman 

Fix NULL dereference (CID 254)

A typo/copypaste error confusing p_es->p_dec with p_es->p_dec_record

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=413c4eac043600c14f8d52382553f04a5c6980ad
---

 src/input/es_out.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index a078323..e9fda8a 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -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 );
     }
 }
 




More information about the vlc-devel mailing list