Split openLinks linked list into openInputs and openOutputs

Commited in SoC by Vitor Sessak on 2008-05-24 17:20:09

Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-05-24 20:42:34 +00:00
parent 64fbf5e263
commit e2b5fdaf11
2 changed files with 23 additions and 41 deletions

View file

@ -25,16 +25,10 @@
#include "avfilter.h"
#include "avfiltergraph.h"
enum LinkType {
LinkTypeIn,
LinkTypeOut,
};
/**
* A linked-list of the inputs/outputs of the filter chain.
*/
typedef struct AVFilterInOut {
enum LinkType type;
const char *name;
AVFilterContext *filter;
int pad_idx;
@ -51,6 +45,7 @@ typedef struct AVFilterInOut {
* @return zero on success, -1 on error
*/
int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
AVFilterInOut *inouts, AVClass *log_ctx);
AVFilterInOut *inputs, AVFilterInOut *outputs,
AVClass *log_ctx);
#endif /* FFMPEG_GRAPHPARSER_H */