diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-25 12:03:28 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-25 12:03:28 +0000 |
commit | 9e48ce48d4f4f6f2425d5ac904302285d1e577b1 (patch) | |
tree | fd80d6c25a6455951b5e0f6fa37764a6fff6aa1c /libswscale | |
parent | 1a1bdca3e49f030fa0314ded195d8d5ea28f368b (diff) |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28353 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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[]); |