[FFmpeg-cvslog] r30184 - trunk/libswscale/swscale.c

stefano subversion
Sun Jan 3 16:20:08 CET 2010


Author: stefano
Date: Sun Jan  3 16:20:07 2010
New Revision: 30184

Log:
Prefer enum PixelFormat over int for the type of the format parameter
of getSubSampleFactors().

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Sun Jan  3 15:55:15 2010	(r30183)
+++ trunk/libswscale/swscale.c	Sun Jan  3 16:20:07 2010	(r30184)
@@ -2272,7 +2272,7 @@ static int planarCopy(SwsContext *c, uin
 }
 
 
-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;



More information about the ffmpeg-cvslog mailing list