Commit 804db446 authored by Ramiro Polla's avatar Ramiro Polla

Remove unused variables.

Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 62a0525d
...@@ -2683,9 +2683,6 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d ...@@ -2683,9 +2683,6 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
c->param[1] = SWS_PARAM_DEFAULT; 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. // Note the -((-x)>>y) is so that we always round toward +inf.
c->chrSrcW= -((-srcW) >> c->chrSrcHSubSample); c->chrSrcW= -((-srcW) >> c->chrSrcHSubSample);
c->chrSrcH= -((-srcH) >> c->chrSrcVSubSample); c->chrSrcH= -((-srcH) >> c->chrSrcVSubSample);
......
...@@ -82,7 +82,6 @@ typedef struct SwsContext{ ...@@ -82,7 +82,6 @@ typedef struct SwsContext{
enum PixelFormat dstFormat, srcFormat; ///< format 4:2:0 type is always YV12 enum PixelFormat dstFormat, srcFormat; ///< format 4:2:0 type is always YV12
int origDstFormat, origSrcFormat; ///< format int origDstFormat, origSrcFormat; ///< format
int chrSrcHSubSample, chrSrcVSubSample; int chrSrcHSubSample, chrSrcVSubSample;
int chrIntHSubSample, chrIntVSubSample;
int chrDstHSubSample, chrDstVSubSample; int chrDstHSubSample, chrDstVSubSample;
int vChrDrop; int vChrDrop;
int sliceDir; int sliceDir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment