From e1b8271949d3b70e820b8e08c542ad1586c96f9d Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 24 Dec 2016 01:56:24 -0300 Subject: [PATCH] avfilter/framequeue: add missing check for ASSERT_LEVEL Signed-off-by: James Almer --- libavfilter/framequeue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/framequeue.c b/libavfilter/framequeue.c index debeab2683..a4ffa86c95 100644 --- a/libavfilter/framequeue.c +++ b/libavfilter/framequeue.c @@ -33,7 +33,7 @@ void ff_framequeue_global_init(FFFrameQueueGlobal *fqg) static void check_consistency(FFFrameQueue *fq) { -#if ASSERT_LEVEL >= 2 +#if defined(ASSERT_LEVEL) && ASSERT_LEVEL >= 2 uint64_t nb_samples = 0; size_t i;