summaryrefslogtreecommitdiff
path: root/libavcodec/ass.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-06-18 18:37:59 +0200
committerClément Bœsch <clement@stupeflix.com>2014-06-18 18:43:36 +0200
commit88514378bac99872265dad28072fb30160b26bfa (patch)
tree3c031eba89102e19c9d956ddb785d5dd0ec77cce /libavcodec/ass.c
parent5039aadf68deb9ad6dd0737ea11259fe53d3727b (diff)
avcodec/ass: move playres parameters below scripttype
Suggested-by: wm4
Diffstat (limited to 'libavcodec/ass.c')
-rw-r--r--libavcodec/ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ass.c b/libavcodec/ass.c
index 4edff84933..a5b5ae5fb2 100644
--- a/libavcodec/ass.c
+++ b/libavcodec/ass.c
@@ -34,9 +34,9 @@ int ff_ass_subtitle_header(AVCodecContext *avctx,
{
avctx->subtitle_header = av_asprintf(
"[Script Info]\r\n"
+ "ScriptType: v4.00+\r\n"
"PlayResX: 384\r\n"
"PlayResY: 288\r\n"
- "ScriptType: v4.00+\r\n"
"\r\n"
"[V4+ Styles]\r\n"
"Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding\r\n"