提交 513b6919 编写于 作者: J Justin Ruggles

avcodec: use av_opt_set() instead of deprecated av_set_string3()

上级 fa9aeb82
......@@ -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++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册