[vlc-commits] demux/mpeg: Mark p_demux as VLC_UNUSED
Marvin Scholz
git at videolan.org
Tue Nov 21 16:54:35 CET 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | 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 <jb at videolan.org>
> 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 );
}
More information about the vlc-commits
mailing list