mirror of https://github.com/mpv-player/mpv
Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29435 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dc8bb7837a
commit
3490d7cbfa
|
@ -2683,9 +2683,6 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
|
|||
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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue