[FFmpeg-cvslog] r28353 - trunk/libswscale/swscale_internal.h

diego subversion
Sun Jan 25 13:03:29 CET 2009


Author: diego
Date: Sun Jan 25 13:03:28 2009
New Revision: 28353

Log:
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

Modified:
   trunk/libswscale/swscale_internal.h

Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h	Sun Jan 25 12:59:22 2009	(r28352)
+++ trunk/libswscale/swscale_internal.h	Sun Jan 25 13:03:28 2009	(r28353)
@@ -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[]);
 




More information about the ffmpeg-cvslog mailing list