diff options
author | Yayoi <yayoi.ukai@gmail.com> | 2015-08-30 07:24:47 -0700 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-06 13:07:44 +0200 |
commit | 50332f8a6bc303b6147fe34a481a2c0b80ac12be (patch) | |
tree | 35381d4fe000ce43ae23f3406a254be37cacb436 /libavcodec/htmlsubtitles.h | |
parent | d9464e9c14f412f6ad80eb7ff9e15c9786384d15 (diff) | |
download | ffmpeg-50332f8a6bc303b6147fe34a481a2c0b80ac12be.tar.gz |
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.h | 29 |
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 */ |