[MPlayer-cvslog] r37766 - trunk/sub/font_load.c

reimar subversion at mplayerhq.hu
Sat Feb 20 13:44:22 CET 2016


Author: reimar
Date: Sat Feb 20 13:44:21 2016
New Revision: 37766

Log:
font_load: fix reading of bitmap fonts.

Modified:
   trunk/sub/font_load.c

Modified: trunk/sub/font_load.c
==============================================================================
--- trunk/sub/font_load.c	Sat Feb 20 13:35:53 2016	(r37765)
+++ trunk/sub/font_load.c	Sat Feb 20 13:44:21 2016	(r37766)
@@ -60,7 +60,7 @@ raw_file* load_raw(char *name,int verbos
     }
     size = raw->h*raw->w*bpp;
     raw->bmp=malloc(size);
-    if (fread(raw->bmp,size,1,f) != size) {
+    if (fread(raw->bmp,1,size,f) != size) {
         free(raw->bmp);
         goto err_out;
     }


More information about the MPlayer-cvslog mailing list