summaryrefslogtreecommitdiff
path: root/libavfilter/vf_drawbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_drawbox.c')
-rw-r--r--libavfilter/vf_drawbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c
index a4fe0b8abd..65bd039d65 100644
--- a/libavfilter/vf_drawbox.c
+++ b/libavfilter/vf_drawbox.c
@@ -73,9 +73,9 @@ enum var_name {
VARS_NB
};
-typedef struct DrawBoxContext DrawBoxContext;
+struct DrawBoxContext;
-typedef int (*PixelBelongsToRegion)(DrawBoxContext *s, int x, int y);
+typedef int (*PixelBelongsToRegion)(struct DrawBoxContext *s, int x, int y);
typedef struct DrawBoxContext {
const AVClass *class;
@@ -96,7 +96,7 @@ typedef struct DrawBoxContext {
int step;
enum AVFrameSideDataType box_source;
- void (*draw_region)(AVFrame *frame, DrawBoxContext *ctx, int left, int top, int right, int down,
+ void (*draw_region)(AVFrame *frame, struct DrawBoxContext *ctx, int left, int top, int right, int down,
PixelBelongsToRegion pixel_belongs_to_region);
} DrawBoxContext;