summaryrefslogtreecommitdiff
path: root/libswscale/swscale.h
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 /libswscale/swscale.h
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 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 3b304d5629..8f4605ea6b 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -115,13 +115,13 @@ const int *sws_getCoefficients(int colorspace);
// when used for filters they must have an odd number of elements
// coeffs cannot be shared between vectors
-typedef struct {
+typedef struct SwsVector {
double *coeff; ///< pointer to the list of coefficients
int length; ///< number of coefficients in the vector
} SwsVector;
// vectors can be shared
-typedef struct {
+typedef struct SwsFilter {
SwsVector *lumH;
SwsVector *lumV;
SwsVector *chrH;