[vlc-commits] transcode: add missing parameter to transcode_audio_clean()

Rémi Denis-Courmont git at videolan.org
Fri Jan 18 22:12:51 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 18 21:29:06 2019 +0200| [2c699bb6b548bafdb0b7fb19f75ac59788e66e2e] | committer: Rémi Denis-Courmont

transcode: add missing parameter to transcode_audio_clean()

Other ES type have it. This will be needed for audio later.

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

 modules/stream_out/transcode/audio.c     | 2 +-
 modules/stream_out/transcode/transcode.c | 2 +-
 modules/stream_out/transcode/transcode.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 765859888b..7b3f666102 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -199,7 +199,7 @@ int transcode_audio_init( sout_stream_t *p_stream, const es_format_t *p_fmt,
     return VLC_SUCCESS;
 }
 
-void transcode_audio_clean( sout_stream_id_sys_t *id )
+void transcode_audio_clean( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
 {
     /* Close decoder */
     if( id->p_decoder->p_module )
diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index 35e1134564..782b100e6b 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -681,7 +681,7 @@ static void Del( sout_stream_t *p_stream, void *_id )
         {
         case AUDIO_ES:
             Send( p_stream, id, NULL );
-            transcode_audio_clean( id );
+            transcode_audio_clean( p_stream, id );
             if( id == p_sys->id_master_sync )
                 p_sys->id_master_sync = NULL;
             break;
diff --git a/modules/stream_out/transcode/transcode.h b/modules/stream_out/transcode/transcode.h
index fae4f8137d..adb2b635f8 100644
--- a/modules/stream_out/transcode/transcode.h
+++ b/modules/stream_out/transcode/transcode.h
@@ -179,7 +179,7 @@ int  transcode_spu_init   ( sout_stream_t *, const es_format_t *, sout_stream_id
 
 /* AUDIO */
 
-void transcode_audio_clean  ( sout_stream_id_sys_t * );
+void transcode_audio_clean  ( sout_stream_t *, sout_stream_id_sys_t * );
 int  transcode_audio_process( sout_stream_t *, sout_stream_id_sys_t *,
                                      block_t *, block_t ** );
 int  transcode_audio_init   ( sout_stream_t *, const es_format_t *,



More information about the vlc-commits mailing list