aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-27 10:19:53 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-06 09:27:11 +0200
commite4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch)
treea1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavfilter
parent76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff)
downloadffmpeg-e4cbf7529ba4bcfff47c44b0d026ecb356004c8c.tar.gz
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/gradfun.h2
-rw-r--r--libavfilter/yadif.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/gradfun.h b/libavfilter/gradfun.h
index 5d011309c6..876579a182 100644
--- a/libavfilter/gradfun.h
+++ b/libavfilter/gradfun.h
@@ -25,7 +25,7 @@
#include "avfilter.h"
/// Holds instance-specific information for gradfun.
-typedef struct {
+typedef struct GradFunContext {
int thresh; ///< threshold for gradient algorithm
int radius; ///< blur radius
int chroma_w; ///< width of the chroma planes
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
index 9d23870cd1..06b39c69de 100644
--- a/libavfilter/yadif.h
+++ b/libavfilter/yadif.h
@@ -22,7 +22,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-typedef struct {
+typedef struct YADIFContext {
/**
* 0: send 1 frame for each frame
* 1: send 1 frame for each field