aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est_template.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-08-24 22:28:41 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-08-24 22:28:41 +0000
commit802f454e5bf2657c3b95c364b474625539a29cd4 (patch)
tree70a8fd9f50f3e1affce5976ed9e808ed33bdeadc /libavcodec/motion_est_template.c
parentacaa20d7bda312362c743f4bc5fb5a51f63c3720 (diff)
downloadffmpeg-802f454e5bf2657c3b95c364b474625539a29cd4.tar.gz
removed unused variable
Originally committed as revision 2162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est_template.c')
-rw-r--r--libavcodec/motion_est_template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c
index 546509e531..db51d676db 100644
--- a/libavcodec/motion_est_template.c
+++ b/libavcodec/motion_est_template.c
@@ -186,7 +186,9 @@ static int RENAME(hpel_motion_search)(MpegEncContext * s,
#if 1
int key;
int map_generation= s->me.map_generation;
+#ifndef NDEBUG
uint32_t *map= s->me.map;
+#endif
key= ((my-1)<<ME_MAP_MV_BITS) + (mx) + map_generation;
assert(map[(index-(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] == key);
key= ((my+1)<<ME_MAP_MV_BITS) + (mx) + map_generation;