Commit a8542e43 authored by Stefano Sabatini's avatar Stefano Sabatini

Set the correct type for the output links.

Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 65d4cab5
......@@ -66,7 +66,7 @@ int main(int argc, char **argv)
}
for (i = 0; i < filter_ctx->output_count; i++) {
AVFilterLink *link = av_mallocz(sizeof(AVFilterLink));
link->type = filter_ctx->filter->inputs[i].type;
link->type = filter_ctx->filter->outputs[i].type;
filter_ctx->outputs[i] = link;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment