comparison libswscale/swscale_internal.h @ 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 877336d3c598
children 75586eb0750d
comparison
equal deleted inserted replaced
28317:78e355443da9 28318:6142aa6d6f38
49 #else 49 #else
50 # define APCK_PTR2 4 50 # define APCK_PTR2 4
51 # define APCK_COEF 8 51 # define APCK_COEF 8
52 # define APCK_SIZE 16 52 # define APCK_SIZE 16
53 #endif 53 #endif
54
55 struct SwsContext;
54 56
55 typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, 57 typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
56 int srcSliceH, uint8_t* dst[], int dstStride[]); 58 int srcSliceH, uint8_t* dst[], int dstStride[]);
57 59
58 /* This struct should be aligned on at least a 32-byte boundary. */ 60 /* This struct should be aligned on at least a 32-byte boundary. */