changeset 28318:6142aa6d6f38

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
author diego
date Sun, 25 Jan 2009 12:03:28 +0000
parents 78e355443da9
children 0c7a9144e5f0
files libswscale/swscale_internal.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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[]);