[SCM] libav/experimental: Replace int type with enum PixelFormat for the dstFormat/srcFormat params of the sws_getContext() and sws_getCachedContext() declarations, consistent with the implementation.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:37:18 UTC 2013
The following commit has been merged in the experimental branch:
commit 96b27045d2ee683db270aa91d6ddff0d92e1cf6d
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Sun Feb 8 23:02:06 2009 +0000
Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.
Originally committed as revision 28491 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 9350894..70a47a9 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -114,7 +114,7 @@ struct SwsContext;
void sws_freeContext(struct SwsContext *swsContext);
-struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags,
+struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
@@ -145,8 +145,8 @@ SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
void sws_freeFilter(SwsFilter *filter);
struct SwsContext *sws_getCachedContext(struct SwsContext *context,
- int srcW, int srcH, int srcFormat,
- int dstW, int dstH, int dstFormat, int flags,
+ int srcW, int srcH, enum PixelFormat srcFormat,
+ int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
#endif /* SWSCALE_SWSCALE_H */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list