[vlc-commits] ts_debug: check format parameters

Rafaël Carré git at videolan.org
Mon Mar 5 12:08:17 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar  5 06:07:29 2012 -0500| [3661c2462b9a07493f14f197f5f1f96f6a47f5d7] | committer: Rafaël Carré

ts_debug: check format parameters

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

 modules/demux/ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 3c44570..f9c2f4d 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -62,7 +62,7 @@
 # include <dvbpsi/tot.h>
 
 #undef TS_DEBUG
-static void ts_debug(const char *format, ...)
+VLC_FORMAT(1, 2) static void ts_debug(const char *format, ...)
 {
 #ifdef TS_DEBUG
     va_list ap;



More information about the vlc-commits mailing list