[MPlayer-cvslog] CVS: main/libmpdemux demuxer.c,1.192,1.193

Tobias Diedrich CVS syncmail at mplayerhq.hu
Thu Jul 7 19:35:07 CEST 2005


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv2721

Modified Files:
	demuxer.c 
Log Message:
-identify variable names should follow [A-Z_][A-Z0-9_]* convention

Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -r1.192 -r1.193
--- demuxer.c	20 Jun 2005 23:07:35 -0000	1.192
+++ demuxer.c	7 Jul 2005 17:35:05 -0000	1.193
@@ -1605,9 +1605,13 @@
     for(n = 0; info[2*n] != NULL ; n++)
     {
       mp_msg(MSGT_DEMUX, MSGL_INFO, " %s: %s\n",info[2*n],info[2*n+1]);
-      if (identify)
-        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_%s=%s\n", info[2*n], info[2*n+1]);
+      if (identify) {
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_NAME%d=%s\n", n, info[2*n]);
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_VALUE%d=%s\n", n, info[2*n+1]);
+      }
     }
+    if (identify)
+      mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_N=%d\n", n);
 
     return 0;
 }




More information about the MPlayer-cvslog mailing list