]> git.sesse.net Git - ffmpeg/commitdiff
Declare struct SwsContext before using it, fixes the checkheaders warning:
authorDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 12:03:28 +0000 (12:03 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 12:03:28 +0000 (12:03 +0000)
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

index b2505c0f7dfc4ebf946281c4b653196843aedfb5..38db01023aed6d716b2fd04eb3e3d633a106bf5e 100644 (file)
@@ -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[]);