diff options
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r-- | libavcodec/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c index fed9ae9930..ffa422ec93 100644 --- a/libavcodec/opt.c +++ b/libavcodec/opt.c @@ -65,7 +65,7 @@ FF_SYMVER(void, av_opt_set_defaults2, (void *s, int mask, int flags), "LIBAVCODE } #endif -#if LIBAVCODEC_VERSION_MAJOR < 53 +#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) |