[vlc-commits] input: fix NULL dereference

Rémi Denis-Courmont git at videolan.org
Mon Nov 2 22:03:53 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov  2 23:03:32 2015 +0200| [39f26abaa7d6dbd20aa11146a3726bb818bfc462] | committer: Rémi Denis-Courmont

input: fix NULL dereference

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

 src/input/decoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index fe3cd42..f6dfbcf 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -267,7 +267,7 @@ static int aout_update_format( decoder_t *p_dec )
         vlc_mutex_lock( &p_owner->lock );
         p_owner->p_aout = NULL;
         vlc_mutex_unlock( &p_owner->lock );
-        aout_DecDelete( p_owner->p_aout );
+        aout_DecDelete( p_aout );
 
         input_resource_PutAout( p_owner->p_resource, p_aout );
     }



More information about the vlc-commits mailing list