# HG changeset patch # User diego # Date 1232885008 0 # Node ID 6142aa6d6f38f0cc11c09479df84ee5dd72d026f # Parent 78e355443da9eba18dce785597b09dbdb965b023 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 diff -r 78e355443da9 -r 6142aa6d6f38 libswscale/swscale_internal.h --- a/libswscale/swscale_internal.h Sun Jan 25 11:59:22 2009 +0000 +++ b/libswscale/swscale_internal.h Sun Jan 25 12:03:28 2009 +0000 @@ -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[]);