changeset 30142:bd5ab02f84f8

Prefer enum PixelFormat over int for the type of the format parameter of getSubSampleFactors().
author stefano
date Sun, 03 Jan 2010 15:20:07 +0000
parents 74f3e726b1f5
children 0a4585a1653d
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Jan 03 14:55:15 2010 +0000
+++ b/libswscale/swscale.c	Sun Jan 03 15:20:07 2010 +0000
@@ -2272,7 +2272,7 @@
 }
 
 
-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;