vlc | branch: master | Marvin Scholz <[email protected]> | Mon Nov 20 10:28:59 
2017 +0100| [f57318b3d33a4314c041aa9fef9da519bcabe0a5] | committer: 
Jean-Baptiste Kempf

demux/mpeg: Mark p_demux as VLC_UNUSED

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/demux/mpeg/ts_pid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mpeg/ts_pid.c b/modules/demux/mpeg/ts_pid.c
index 64e6e79df7..2971e942b1 100644
--- a/modules/demux/mpeg/ts_pid.c
+++ b/modules/demux/mpeg/ts_pid.c
@@ -53,6 +53,8 @@ void ts_pid_list_Release( demux_t *p_demux, ts_pid_list_t 
*p_list )
 #ifndef NDEBUG
         if( pid->type != TYPE_FREE )
             msg_Err( p_demux, "PID %d type %d not freed refcount %d", 
pid->i_pid, pid->type, pid->i_refcount );
+#else
+        VLC_UNUSED(p_demux);
 #endif
         free( pid );
     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to