[MPlayer-dev-eng] [PATCH] parse_es.c: remove unused parameter

Zuxy Meng zuxy.meng at gmail.com
Sat Jun 2 18:40:49 CEST 2007


Hi,

'skipped' isn't unused in the format string so isn't necessary.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: libmpdemux/parse_es.c
===================================================================
--- libmpdemux/parse_es.c	?????? 23450??
+++ libmpdemux/parse_es.c	????????????
@@ -26,7 +26,7 @@
   int skipped=0;
     if (!demux_pattern_3(ds, NULL, MAX_SYNCLEN, &skipped, 0x100)) {
       if (skipped == MAX_SYNCLEN)
-      mp_msg(MSGT_DEMUXER, MSGL_ERR, "parse_es: could not sync video stream!\n", skipped);
+      mp_msg(MSGT_DEMUXER, MSGL_ERR, "parse_es: could not sync video stream!\n");
       goto eof_out;
     }
     next_nal = demux_getc(ds);


More information about the MPlayer-dev-eng mailing list