mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
1a1bdca3e4
commit
9e48ce48d4
|
@ -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[]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue