summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libass/ass.c2
-rw-r--r--libass/ass_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass.c b/libass/ass.c
index fdeb93c..defc515 100644
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -514,7 +514,7 @@ static int process_style(ASS_Track *track, char *str)
INTVAL(Underline)
INTVAL(StrikeOut)
FPVAL(Spacing)
- INTVAL(Angle)
+ FPVAL(Angle)
INTVAL(BorderStyle)
INTVAL(Alignment)
if (track->track_type == TRACK_TYPE_ASS)
diff --git a/libass/ass_types.h b/libass/ass_types.h
index 20fd825..3be1029 100644
--- a/libass/ass_types.h
+++ b/libass/ass_types.h
@@ -50,7 +50,7 @@ typedef struct ass_style {
double ScaleX;
double ScaleY;
double Spacing;
- int Angle;
+ double Angle;
int BorderStyle;
double Outline;
double Shadow;