aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-07-22 20:49:01 +0200
committerGravatar wm4 <wm4@nowhere>2014-07-22 20:49:01 +0200
commit8f8d5241122c0085dcd317c072b683eec0e7b353 (patch)
tree56ee039f9c937fb752a6f9841284bea1dd795407 /sub
parent6b51b73a0489348ec094c4bf1f30a12c49af9b6d (diff)
ass: remove some pointless ifdeffery
This will print compiler warnings about unused variables with older libass versions, but that's harmless.
Diffstat (limited to 'sub')
-rw-r--r--sub/ass_mp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c
index 0609351f7b..f5da319730 100644
--- a/sub/ass_mp.c
+++ b/sub/ass_mp.c
@@ -132,18 +132,14 @@ void mp_ass_configure(ASS_Renderer *priv, struct MPOpts *opts,
ass_set_margins(priv, dim->mt, dim->mb, dim->ml, dim->mr);
int set_use_margins = 0;
-#if LIBASS_VERSION >= 0x01010000
int set_sub_pos = 0;
-#endif
float set_line_spacing = 0;
float set_font_scale = 1;
int set_hinting = 0;
int set_force_override = 0;
if (opts->ass_style_override) {
set_use_margins = opts->ass_use_margins;
-#if LIBASS_VERSION >= 0x01010000
set_sub_pos = 100 - opts->sub_pos;
-#endif
set_line_spacing = opts->ass_line_spacing;
set_hinting = opts->ass_hinting;
set_force_override = opts->ass_style_override == 3;