summaryrefslogtreecommitdiff
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r--libavcodec/opt.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 3b89a3013c..f2bff96380 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -64,19 +64,3 @@ FF_SYMVER(void, av_opt_set_defaults2, (void *s, int mask, int flags), "LIBAVCODE
return av_opt_set_defaults2(s, mask, flags);
}
#endif
-
-#if FF_API_SET_STRING_OLD
-const AVOption *av_set_string2(void *obj, const char *name, const char *val, int alloc){
- const AVOption *o;
- if (av_set_string3(obj, name, val, alloc, &o) < 0)
- return NULL;
- return o;
-}
-
-const AVOption *av_set_string(void *obj, const char *name, const char *val){
- const AVOption *o;
- if (av_set_string3(obj, name, val, 0, &o) < 0)
- return NULL;
- return o;
-}
-#endif