summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-09-16 20:26:42 -0400
committerwm4 <nfxjfg@googlemail.com>2015-09-26 18:44:36 +0200
commitdb9de9b954a7dd453e928d17d7521915afe86764 (patch)
tree4d0a97c8c64fc97a8d7866321b5544fc671443ac /libavformat
parentdc218bd08305656d97ad51c57ee4ab2040cd2425 (diff)
downloadffmpeg-streaming-db9de9b954a7dd453e928d17d7521915afe86764.zip
ffmpeg-streaming-db9de9b954a7dd453e928d17d7521915afe86764.tar.gz
avformat/hls: remove unused function
Fixes -Wunused-function from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index f17fd45..deba61f 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -495,19 +495,6 @@ static int ensure_playlist(HLSContext *c, struct playlist **pls, const char *url
return 0;
}
-static int open_in(HLSContext *c, AVIOContext **in, const char *url)
-{
- AVDictionary *tmp = NULL;
- int ret;
-
- av_dict_copy(&tmp, c->avio_opts, 0);
-
- ret = avio_open2(in, url, AVIO_FLAG_READ, c->interrupt_callback, &tmp);
-
- av_dict_free(&tmp);
- return ret;
-}
-
static int url_connect(struct playlist *pls, AVDictionary *opts, AVDictionary *opts2)
{
AVDictionary *tmp = NULL;
OpenPOWER on IntegriCloud