diff mpcommon.c @ 34013:18dfcac48055

libass: consistently #include sub/ass_mp.h without #ifdefs The header is safe to include without #ifdef guards and already #included without guards in most places.
author diego
date Mon, 12 Sep 2011 23:36:00 +0000
parents c52940fe54dd
children 5761a9a31bcb
line wrap: on
line diff
--- a/mpcommon.c	Mon Sep 12 23:08:39 2011 +0000
+++ b/mpcommon.c	Mon Sep 12 23:36:00 2011 +0000
@@ -43,6 +43,7 @@
 #include "parser-cfg.h"
 #include "sub/spudec.h"
 #include "version.h"
+#include "sub/ass_mp.h"
 #include "sub/vobsub.h"
 #include "sub/av_sub.h"
 #include "libmpcodecs/dec_teletext.h"
@@ -53,7 +54,6 @@
 double sub_last_pts = -303;
 
 #ifdef CONFIG_ASS
-#include "sub/ass_mp.h"
 ASS_Track* ass_track = 0; // current track to render
 #endif