Revision 97fb0c2c libavfilter/avfilter.c

View differences:

libavfilter/avfilter.c
117 117
static int default_config_output_link(AVFilterLink *link)
118 118
{
119 119
    if(link->src->input_count && link->src->inputs[0]) {
120
    link->w = link->src->inputs[0]->w;
121
    link->h = link->src->inputs[0]->h;
120
        link->w = link->src->inputs[0]->w;
121
        link->h = link->src->inputs[0]->h;
122 122
    } else {
123 123
        /* XXX: any non-simple filter which would cause this branch to be taken
124 124
         * really should implement its own config_props() for this link. */
......
135 135
static int *default_query_output_formats(AVFilterLink *link)
136 136
{
137 137
    if(link->src->input_count && link->src->inputs[0])
138
    return avfilter_make_format_list(1, link->src->inputs[0]->format);
138
        return avfilter_make_format_list(1, link->src->inputs[0]->format);
139 139
    else
140 140
        /* XXX: any non-simple filter which would cause this branch to be taken
141 141
         * really should implement its own query_formats() for this link */

Also available in: Unified diff