mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-15 11:51:33 +00:00
Prefer enum PixelFormat over int for the type of the format parameter
of getSubSampleFactors(). Originally committed as revision 30184 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
997980f0d8
commit
634116df3e
@ -2272,7 +2272,7 @@ static int planarCopy(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli
|
||||
}
|
||||
|
||||
|
||||
static void getSubSampleFactors(int *h, int *v, int format)
|
||||
static void getSubSampleFactors(int *h, int *v, enum PixelFormat format)
|
||||
{
|
||||
*h = av_pix_fmt_descriptors[format].log2_chroma_w;
|
||||
*v = av_pix_fmt_descriptors[format].log2_chroma_h;
|
||||
|
Loading…
Reference in New Issue
Block a user