Set the correct type for the output links.

Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-08-17 18:07:57 +00:00
parent 65d4cab562
commit a8542e433e

View File

@ -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;
}