1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Merge commit '9a60b1fad02cb783b895b2145c3dafc01f7b337c'

* commit '9a60b1fad02cb783b895b2145c3dafc01f7b337c':
  libswscale: fix compiler warnings enumerated type mixed with another type

Conflicts:
	libswscale/swscale_unscaled.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-03-16 00:14:30 +01:00
commit 3e48616226

View File

@ -742,7 +742,7 @@ SwsFunc ff_getSwsFunc(SwsContext *c)
return swscale; return swscale;
} }
static void reset_ptr(const uint8_t *src[], int format) static void reset_ptr(const uint8_t *src[], enum AVPixelFormat format)
{ {
if (!isALPHA(format)) if (!isALPHA(format))
src[3] = NULL; src[3] = NULL;