[FFmpeg-cvslog] avcodec/ass: fix comment

Oneric git at videolan.org
Sat Dec 3 20:05:21 EET 2022


ffmpeg | branch: master | Oneric <oneric at oneric.de> | Sun Nov 13 20:57:16 2022 +0100| [d82e30d0d18b665634d7ae441727a54082465a8c] | committer: Paul B Mahol

avcodec/ass: fix comment

There is no v4 ASS. There are versions 1 to 4 of SSA (with only v4
being supported by softsub renderers), ASS which declares itself as v4+
or v4.00+, and the rarely used v4++/v4.00++, which isn't fully supported
by libass.
As reflected by the [V4+ Styles] section header, FFmpeg uses ASS, not
SSA v4, so adjust the comment accordingly.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d82e30d0d18b665634d7ae441727a54082465a8c
---

 libavcodec/ass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ass.c b/libavcodec/ass.c
index 728cfb1ab5..fdf55f36ca 100644
--- a/libavcodec/ass.c
+++ b/libavcodec/ass.c
@@ -44,7 +44,7 @@ int ff_ass_subtitle_header_full(AVCodecContext *avctx,
              "\r\n"
              "[V4+ Styles]\r\n"
 
-             /* ASSv4 header */
+             /* ASS (v4+) header */
              "Format: Name, "
              "Fontname, Fontsize, "
              "PrimaryColour, SecondaryColour, OutlineColour, BackColour, "



More information about the ffmpeg-cvslog mailing list