diff options
author | Clément Bœsch <u@pkh.me> | 2014-10-11 18:37:43 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-10-15 19:25:06 +0200 |
commit | 52b0a0ecaa02e17f7e01bead8c3f215f1cfd48dc (patch) | |
tree | dd84fa61064d2cf852ba72e5d27709592e2eeb62 /libavcodec | |
parent | d281a87ae37be5338e667b43a5600511ec297815 (diff) | |
download | ffmpeg-52b0a0ecaa02e17f7e01bead8c3f215f1cfd48dc.tar.gz |
avcodec/ass: add FFmpeg signature
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ass.c b/libavcodec/ass.c index ac1bfae061..fd00981a68 100644 --- a/libavcodec/ass.c +++ b/libavcodec/ass.c @@ -34,6 +34,7 @@ int ff_ass_subtitle_header(AVCodecContext *avctx, { avctx->subtitle_header = av_asprintf( "[Script Info]\r\n" + "; Script generated by FFmpeg/Lavc%s\r\n" "ScriptType: v4.00+\r\n" "PlayResX: 384\r\n" "PlayResY: 288\r\n" @@ -65,6 +66,7 @@ int ff_ass_subtitle_header(AVCodecContext *avctx, "\r\n" "[Events]\r\n" "Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\r\n", + !(avctx->flags & CODEC_FLAG_BITEXACT) ? AV_STRINGIFY(LIBAVCODEC_VERSION) : "", font, font_size, color, color, back_color, back_color, -bold, -italic, -underline, alignment); |