diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c index 9de36129a2..3123edcf92 100644 --- a/libavcodec/motion_est_template.c +++ b/libavcodec/motion_est_template.c @@ -89,7 +89,7 @@ static int hpel_motion_search(MpegEncContext * s, const int b= score_map[(index+(1<penalty_factor; -#if ASSERT_LEVEL > 1 +#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 unsigned key; unsigned map_generation= c->map_generation; key= ((my-1)<