From 05d81a57f56aa1329a18c41207c7e8cef7b7317f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 29 Dec 2012 19:37:20 +0100 Subject: motion_est_template: fix warning: "ASSERT_LEVEL" is not defined Signed-off-by: Michael Niedermayer --- libavcodec/motion_est_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/motion_est_template.c') 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)<