From b7f641dc9bff452c0af75700d1127f54dadf4247 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Sep 2014 20:54:16 +0200 Subject: avformat/realtextdec: UTF-16 support Also remove ff_smil_extract_next_chunk - this was the last user of it. --- libavformat/subtitles.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavformat/subtitles.c') diff --git a/libavformat/subtitles.c b/libavformat/subtitles.c index 6b59538753..95faca6e48 100644 --- a/libavformat/subtitles.c +++ b/libavformat/subtitles.c @@ -297,15 +297,6 @@ int ff_smil_extract_next_text_chunk(FFTextReader *tr, AVBPrint *buf, char *c) return i; } -int ff_smil_extract_next_chunk(AVIOContext *pb, AVBPrint *buf, char *c) -{ - FFTextReader tr; - tr.buf_pos = tr.buf_len = 0; - tr.type = 0; - tr.pb = pb; - return ff_smil_extract_next_text_chunk(&tr, buf, c); -} - const char *ff_smil_get_attr_ptr(const char *s, const char *attr) { int in_quotes = 0; -- cgit v1.2.3