summaryrefslogtreecommitdiff
path: root/libavformat/applehttp.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-03 21:10:06 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-12 16:51:16 +0200
commit3b3ea34655db02d9cd9ea1a4122e920a7fdec602 (patch)
tree3b4c7cfd6d339a3357e2b9f22f3740917a387aff /libavformat/applehttp.c
parent8c5dcaad13a54d90f25e8bbb54efe2a1afd5144e (diff)
Remove all uses of deprecated AVOptions API.
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r--libavformat/applehttp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c
index 10f58afde5..567baeb8ee 100644
--- a/libavformat/applehttp.c
+++ b/libavformat/applehttp.c
@@ -350,8 +350,8 @@ static int open_input(struct variant *var)
snprintf(url, sizeof(url), "crypto:%s", seg->url);
if ((ret = ffurl_alloc(&var->input, url, AVIO_FLAG_READ)) < 0)
return ret;
- av_set_string3(var->input->priv_data, "key", key, 0, NULL);
- av_set_string3(var->input->priv_data, "iv", iv, 0, NULL);
+ av_opt_set(var->input->priv_data, "key", key, 0);
+ av_opt_set(var->input->priv_data, "iv", iv, 0);
if ((ret = ffurl_connect(var->input)) < 0) {
ffurl_close(var->input);
var->input = NULL;