lavfi: name anonymous structs

This commit is contained in:
Vittorio Giovara
2014-04-11 11:54:15 +02:00
parent 4936ef6492
commit 58400ac133
34 changed files with 40 additions and 40 deletions

View File

@@ -68,7 +68,7 @@ static int query_formats(AVFilterContext *ctx)
return 0;
}
typedef struct {
typedef struct OCVContext {
const AVClass *class;
char *name;
char *params;
@@ -78,7 +78,7 @@ typedef struct {
void *priv;
} OCVContext;
typedef struct {
typedef struct SmoothContext {
int type;
int param1, param2;
double param3, param4;
@@ -245,7 +245,7 @@ static int parse_iplconvkernel(IplConvKernel **kernel, char *buf, void *log_ctx)
return 0;
}
typedef struct {
typedef struct DilateContext {
int nb_iterations;
IplConvKernel *kernel;
} DilateContext;
@@ -301,7 +301,7 @@ static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplIma
cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations);
}
typedef struct {
typedef struct OCVFilterEntry {
const char *name;
size_t priv_size;
int (*init)(AVFilterContext *ctx, const char *args);