[vlc-commits] transcode: audio: use same object in destructor

Francois Cartegnie git at videolan.org
Mon Jul 9 16:15:46 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul  4 22:24:45 2018 +0200| [8a313714a31484e3fa84f0e97a1d7903fdb9c186] | committer: Francois Cartegnie

transcode: audio: use same object in destructor

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

 modules/stream_out/transcode/audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 6db637937b..63a38218af 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -408,7 +408,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
                 msg_Info( p_stream, "Audio changed, trying to reinitialize filters" );
                 if( id->p_af_chain != NULL )
                 {
-                    aout_FiltersDelete( (vlc_object_t *)NULL, id->p_af_chain );
+                    aout_FiltersDelete( p_stream, id->p_af_chain );
                     id->p_af_chain = NULL;
                 }
             }



More information about the vlc-commits mailing list