Skip to content
Snippets Groups Projects
Commit a37e9e86 authored by Luca Abeni's avatar Luca Abeni
Browse files

Allow swscale emulation header to be included by C++ programs

Originally committed as revision 6027 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9aee40d9
Branches
Tags
No related merge requests found
#ifndef SWSCALE_EMU_H #ifndef SWSCALE_EMU_H
#define SWSCALE_EMU_H #define SWSCALE_EMU_H
#ifdef __cplusplus
extern "C" {
#endif
/* Dummy, only useful for compilation! */ /* Dummy, only useful for compilation! */
#define SWS_FAST_BILINEAR 1 #define SWS_FAST_BILINEAR 1
#define SWS_BILINEAR 2 #define SWS_BILINEAR 2
...@@ -29,4 +34,8 @@ int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[], ...@@ -29,4 +34,8 @@ int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
void sws_freeContext(struct SwsContext *swsContext); void sws_freeContext(struct SwsContext *swsContext);
#ifdef __cplusplus
}
#endif
#endif /* SWSCALE_EMU_H */ #endif /* SWSCALE_EMU_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment