mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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 Originally committed as revision 28353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
dfe44a855d
commit
1615fb91a1
@ -52,6 +52,8 @@
|
|||||||
# define APCK_SIZE 16
|
# define APCK_SIZE 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct SwsContext;
|
||||||
|
|
||||||
typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
|
typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
|
||||||
int srcSliceH, uint8_t* dst[], int dstStride[]);
|
int srcSliceH, uint8_t* dst[], int dstStride[]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user