[MPlayer-cvslog] r36610 - trunk/libvo/vo_bl.c

reimar subversion at mplayerhq.hu
Sat Jan 18 15:05:27 CET 2014


Author: reimar
Date: Sat Jan 18 15:05:27 2014
New Revision: 36610

Log:
vo_bl: cosmetics, use more readable array indexing syntax.

Modified:
   trunk/libvo/vo_bl.c

Modified: trunk/libvo/vo_bl.c
==============================================================================
--- trunk/libvo/vo_bl.c	Sat Jan 18 15:04:31 2014	(r36609)
+++ trunk/libvo/vo_bl.c	Sat Jan 18 15:05:27 2014	(r36610)
@@ -156,7 +156,7 @@ static void bml_write_frame(bl_file_t *f
 	for (j = 0; j < bl->height; j++) {
 		fprintf(f->fp, "        <row>");
 		for (k = 0; k < bl->width * bl->channels; k++)
-			fprintf(f->fp, "%02x", *(i + j * bl->width * bl->channels + k));
+			fprintf(f->fp, "%02x", i[j * bl->width * bl->channels + k]);
 		fprintf(f->fp, "</row>\n");
 	}
 	fprintf(f->fp, "    </frame>\n");


More information about the MPlayer-cvslog mailing list