Revision 998a7aa3

View differences:

libavfilter/avfilter.c
142 142
    link->cur_pic = NULL;
143 143

  
144 144
    /* find a format both filters support - TODO: auto-insert conversion filter */
145
    link->format = -1;
145 146
    if(src->filter->outputs[srcpad].query_formats)
146 147
        fmts[0] = src->filter->outputs[srcpad].query_formats(link);
147 148
    else

Also available in: Unified diff