diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-19 22:29:30 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-19 22:29:30 +0000 |
commit | f16dd7e65a936def99ff00f946544f75ee2f4f73 (patch) | |
tree | 7ae4ec1881e85d80c17f2fde4c951109549b8a1b /cmdutils.c | |
parent | aac8b76983e340bc744d3542d676f72efa3b474f (diff) | |
download | ffmpeg-f16dd7e65a936def99ff00f946544f75ee2f4f73.tar.gz |
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
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index 8b200c8949..c0feaa80f8 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -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); } } |