Revision 9dd08b4e libavfilter/avfilter.c

View differences:

libavfilter/avfilter.c
224 224
        return link_spad(link).poll_frame(link);
225 225

  
226 226
    for (i=0; i<link->src->input_count; i++) {
227
        int val;
227 228
        if(!link->src->inputs[i])
228 229
            return -1;
229
        min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]));
230
        val = avfilter_poll_frame(link->src->inputs[i]);
231
        min = FFMIN(min, val);
230 232
    }
231 233

  
232 234
    return min;

Also available in: Unified diff