[MPlayer-cvslog] r24602 - trunk/libvo/sub.c

diego subversion at mplayerhq.hu
Mon Sep 24 17:39:13 CEST 2007


Author: diego
Date: Mon Sep 24 17:39:12 2007
New Revision: 24602

Log:
warning fix:
sub.c: In function 'vo_update_osd':
sub.c:1104: warning: suggest explicit braces to avoid ambiguous 'else'


Modified:
   trunk/libvo/sub.c

Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c	(original)
+++ trunk/libvo/sub.c	Mon Sep 24 17:39:12 2007
@@ -1101,11 +1101,12 @@ int vo_update_osd(int dxs,int dys){
     } else {
        if (!vo_font) 
            load_font_ft(dxs, dys, &vo_font, font_name);
-       if (!sub_font) 
+       if (!sub_font) {
            if (sub_font_name)
                load_font_ft(dxs, dys, &sub_font, sub_font_name);
            else
                sub_font = vo_font;
+       }
     }
 #endif
 



More information about the MPlayer-cvslog mailing list