Revision edd259f9 libavcodec/opt.c

View differences:

libavcodec/opt.c
156 156
                buf[i]= val[i];
157 157
            buf[i]=0;
158 158

  
159
            d = ff_parse_and_eval_expr(buf, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error);
159
            d = ff_parse_and_eval_expr(buf, const_names, const_values, NULL, NULL, NULL, NULL, NULL, &error);
160 160
            if(isnan(d)) {
161 161
                const AVOption *o_named= av_find_opt(obj, buf, o->unit, 0, 0);
162 162
                if(o_named && o_named->type == FF_OPT_TYPE_CONST)

Also available in: Unified diff