Revision 4cf0b43a libavfilter/parseutils.c

View differences:

libavfilter/parseutils.c
253 253
        rgba_color[2] = rgba;
254 254
    } else {
255 255
        entry = bsearch(color_string2,
256
                                          color_table,
257
                                          FF_ARRAY_ELEMS(color_table),
258
                                          sizeof(ColorEntry),
259
                                          color_table_compare);
256
                        color_table,
257
                        FF_ARRAY_ELEMS(color_table),
258
                        sizeof(ColorEntry),
259
                        color_table_compare);
260 260
        if (!entry) {
261 261
            av_log(log_ctx, AV_LOG_ERROR, "Cannot find color '%s'\n", color_string2);
262 262
            return AVERROR(EINVAL);

Also available in: Unified diff