aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-25 12:03:28 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-25 12:03:28 +0000
commit1615fb91a110ef6cf2d8058e43b9cd5ff40cd3da (patch)
tree63d4b408adad0abb9aff744b61036e3d0c4616e6 /libswscale/swscale_internal.h
parentdfe44a855d72be69f21b29656bcd87ba7dbcda11 (diff)
downloadffmpeg-1615fb91a110ef6cf2d8058e43b9cd5ff40cd3da.tar.gz
Declare struct SwsContext before using it, fixes the checkheaders warning:
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want Originally committed as revision 28353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index b2505c0f7d..38db01023a 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -52,6 +52,8 @@
# define APCK_SIZE 16
#endif
+struct SwsContext;
+
typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);