Просмотр исходного кода

Set the correct type for the output links.

Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini 14 лет назад
Родитель
Сommit
a8542e433e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/lavfi-showfiltfmts.c

+ 1 - 1
tools/lavfi-showfiltfmts.c

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