Revision c245ddf2

View differences:

libavfilter/avfilter.c
184 184

  
185 185
    if(link_spad(link).poll_frame)
186 186
        return link_spad(link).poll_frame(link);
187
        for (i=0; i<link->src->input_count; i++) {
188
            if(!link->src->inputs[i])
189
                return -1;
190
            min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]));
191
        }
187

  
188
    for (i=0; i<link->src->input_count; i++) {
189
        if(!link->src->inputs[i])
190
            return -1;
191
        min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]));
192
    }
192 193

  
193 194
    return min;
194 195
}

Also available in: Unified diff