The replacement isn't ready yet.
Anton Khirnov authored on 2011/04/06 21:46:31... | ... |
@@ -48,7 +48,7 @@ |
48 | 48 |
* They may change, break or disappear at any time. |
49 | 49 |
*/ |
50 | 50 |
#ifndef FF_API_SWS_GETCONTEXT |
51 |
-#define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 1) |
|
51 |
+#define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 2) |
|
52 | 52 |
#endif |
53 | 53 |
|
54 | 54 |
/** |
... | ... |
@@ -185,9 +185,9 @@ void sws_freeContext(struct SwsContext *swsContext); |
185 | 185 |
* @param dstFormat the destination image format |
186 | 186 |
* @param flags specify which algorithm and options to use for rescaling |
187 | 187 |
* @return a pointer to an allocated context, or NULL in case of error |
188 |
- * @deprecated use sws_alloc_context() and sws_init_context() |
|
188 |
+ * @note this function is to be removed after a saner alternative is |
|
189 |
+ * written |
|
189 | 190 |
*/ |
190 |
-attribute_deprecated |
|
191 | 191 |
struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, |
192 | 192 |
int dstW, int dstH, enum PixelFormat dstFormat, |
193 | 193 |
int flags, SwsFilter *srcFilter, |