changeset 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 9145ee6c5238
files libvo/vo_bl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");