aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-03 14:58:59 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-19 18:41:00 +0200
commit41d0eb1c81c0d266824dfdbd040a54a6afeec81a (patch)
tree016d1199a47c58edd240e5dc25b46927365badfe /libavcodec/opt.c
parent01a4259b8db344586b371528973439109f3e2ace (diff)
downloadffmpeg-41d0eb1c81c0d266824dfdbd040a54a6afeec81a.tar.gz
lavc: remove the FF_API_SET_STRING_OLD cruft.
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