Revision 01cc47dc

View differences:

libswscale/swscale.c
2927 2927
 * swscale wrapper, so we don't need to export the SwsContext.
2928 2928
 * Assumes planar YUV to be in YUV order instead of YVU.
2929 2929
 */
2930
int sws_scale(SwsContext *c, const uint8_t* const src[], int srcStride[], int srcSliceY,
2931
              int srcSliceH, uint8_t* dst[], int dstStride[])
2930
int sws_scale(SwsContext *c, const uint8_t* const src[], const int srcStride[], int srcSliceY,
2931
              int srcSliceH, uint8_t* const dst[], const int dstStride[])
2932 2932
{
2933 2933
    int i;
2934 2934
    const uint8_t* src2[4]= {src[0], src[1], src[2], src[3]};
libswscale/swscale.h
30 30
#include "libavutil/avutil.h"
31 31

  
32 32
#define LIBSWSCALE_VERSION_MAJOR 0
33
#define LIBSWSCALE_VERSION_MINOR 8
33
#define LIBSWSCALE_VERSION_MINOR 9
34 34
#define LIBSWSCALE_VERSION_MICRO 0
35 35

  
36 36
#define LIBSWSCALE_VERSION_INT  AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
......
184 184
 *                  the destination image
185 185
 * @return          the height of the output slice
186 186
 */
187
int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], int srcStride[],
188
              int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
187
int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[],
188
              int srcSliceY, int srcSliceH, uint8_t* const dst[], const int dstStride[]);
189 189
#if LIBSWSCALE_VERSION_MAJOR < 1
190 190
/**
191 191
 * @deprecated Use sws_scale() instead.

Also available in: Unified diff