Revision f16dd7e6 cmdutils.c

View differences:

cmdutils.c
224 224
        const char *str= av_get_string(opts_ctx, opt_names[i], &opt, buf, sizeof(buf));
225 225
        /* if an option with name opt_names[i] is present in opts_ctx then str is non-NULL */
226 226
        if(str && ((opt->flags & flags) == flags))
227
            av_set_string2(ctx, opt_names[i], str, 1);
227
            av_set_string3(ctx, opt_names[i], str, 1, NULL);
228 228
    }
229 229
}
230 230

  

Also available in: Unified diff