mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 08:57:49 +00:00
Remove calls to deprecated av_set_string2() with calls to
av_set_string3(). Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
aac8b76983
commit
f16dd7e65a
3 changed files with 8 additions and 7 deletions
|
@ -224,7 +224,7 @@ void set_context_opts(void *ctx, void *opts_ctx, int flags)
|
|||
const char *str= av_get_string(opts_ctx, opt_names[i], &opt, buf, sizeof(buf));
|
||||
/* if an option with name opt_names[i] is present in opts_ctx then str is non-NULL */
|
||||
if(str && ((opt->flags & flags) == flags))
|
||||
av_set_string2(ctx, opt_names[i], str, 1);
|
||||
av_set_string3(ctx, opt_names[i], str, 1, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue