diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-07-21 20:17:15 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-07-21 20:17:15 +0000 |
commit | 3490d7cbfa13ae61720dbba47105ec92f0d6262f (patch) | |
tree | f55e2f0ce64924a5afdc6d8a999e6faa937d3c0f | |
parent | dc8bb7837a122ed2cd99adb76c98a59160abc728 (diff) | |
download | mpv-3490d7cbfa13ae61720dbba47105ec92f0d6262f.tar.bz2 mpv-3490d7cbfa13ae61720dbba47105ec92f0d6262f.tar.xz |
Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29435 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libswscale/swscale.c | 3 | ||||
-rw-r--r-- | libswscale/swscale_internal.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 31cf36ae05..64c4e2b63e 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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); diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 871575e437..50cf304b1f 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -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; |