Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYayoi <yayoi.ukai@gmail.com>2015-08-30 17:24:47 +0300
committerClément Bœsch <u@pkh.me>2015-09-06 14:07:44 +0300
commit50332f8a6bc303b6147fe34a481a2c0b80ac12be (patch)
tree35381d4fe000ce43ae23f3406a254be37cacb436 /libavcodec/htmlsubtitles.h
parentd9464e9c14f412f6ad80eb7ff9e15c9786384d15 (diff)
avcodec/srtdec: factor out HTML parsing code
This code will be used in SAMI decoder in a later commit. Signed-off-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/htmlsubtitles.h')
-rw-r--r--libavcodec/htmlsubtitles.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/htmlsubtitles.h b/libavcodec/htmlsubtitles.h
new file mode 100644
index 0000000000..b06a5af6c8
--- /dev/null
+++ b/libavcodec/htmlsubtitles.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_HTMLSUBTITLES_H
+#define AVCODEC_HTMLSUBTITLES_H
+
+#include "libavutil/bprint.h"
+
+void ff_htmlmarkup_to_ass(AVCodecContext *avctx, AVBPrint *dst, const char *in);
+
+
+#endif /* AVCODEC_HTMLSUBTITLES_H */