diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-19 10:14:27 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-19 10:14:27 +0400 |
commit | 513b6919555b9e2b0c1f86fd5f02caaa14bcbe69 (patch) | |
tree | e5ef6297b486ac765211bb9ed49cd8909f7fa79f /libavcodec/options.c | |
parent | fa9aeb82e25fe7eaf38086798ca79825e423da4e (diff) |
avcodec: use av_opt_set() instead of deprecated av_set_string3()
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 76ca66c902..100d4e6a90 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -588,7 +588,7 @@ int avcodec_get_context_defaults3(AVCodecContext *s, AVCodec *codec){ int ret; const AVCodecDefault *d = codec->defaults; while (d->key) { - ret = av_set_string3(s, d->key, d->value, 0, NULL); + ret = av_opt_set(s, d->key, d->value, 0); av_assert0(ret >= 0); d++; } |