diff libvo/vo_bl.c @ 36514:855d2d796453

vo_bl: cosmetics, use more readable array indexing syntax.
author reimar
date Sat, 18 Jan 2014 14:05:27 +0000
parents fe7d63062afb
children 9bd54104cdee
line wrap: on
line diff
--- a/libvo/vo_bl.c	Sat Jan 18 14:04:31 2014 +0000
+++ b/libvo/vo_bl.c	Sat Jan 18 14:05:27 2014 +0000
@@ -156,7 +156,7 @@
 	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");