From 1615fb91a110ef6cf2d8058e43b9cd5ff40cd3da Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 25 Jan 2009 12:03:28 +0000 Subject: 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 --- libswscale/swscale_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libswscale') 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[]); -- cgit v1.2.3