[FFmpeg-cvslog] r29435 - in trunk/libswscale: swscale.c swscale_internal.h
ramiro
subversion
Tue Jul 21 22:17:15 CEST 2009
Author: ramiro
Date: Tue Jul 21 22:17:15 2009
New Revision: 29435
Log:
Remove unused variables.
Modified:
trunk/libswscale/swscale.c
trunk/libswscale/swscale_internal.h
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c Tue Jul 21 10:20:22 2009 (r29434)
+++ trunk/libswscale/swscale.c Tue Jul 21 22:17:15 2009 (r29435)
@@ -2683,9 +2683,6 @@ SwsContext *sws_getContext(int srcW, int
c->param[1] = SWS_PARAM_DEFAULT;
}
- c->chrIntHSubSample= c->chrDstHSubSample;
- c->chrIntVSubSample= c->chrSrcVSubSample;
-
// Note the -((-x)>>y) is so that we always round toward +inf.
c->chrSrcW= -((-srcW) >> c->chrSrcHSubSample);
c->chrSrcH= -((-srcH) >> c->chrSrcVSubSample);
Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h Tue Jul 21 10:20:22 2009 (r29434)
+++ trunk/libswscale/swscale_internal.h Tue Jul 21 22:17:15 2009 (r29435)
@@ -82,7 +82,6 @@ typedef struct SwsContext{
enum PixelFormat dstFormat, srcFormat; ///< format 4:2:0 type is always YV12
int origDstFormat, origSrcFormat; ///< format
int chrSrcHSubSample, chrSrcVSubSample;
- int chrIntHSubSample, chrIntVSubSample;
int chrDstHSubSample, chrDstVSubSample;
int vChrDrop;
int sliceDir;
More information about the ffmpeg-cvslog
mailing list