aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-12-24 01:56:24 -0300
committerJames Almer <jamrial@gmail.com>2016-12-24 01:56:24 -0300
commite1b8271949d3b70e820b8e08c542ad1586c96f9d (patch)
treecfaf563bb4016f4a1b9f2879d23899641bf4110f
parent94eb600f354c486fd3a9b50e052e809452673fcf (diff)
downloadffmpeg-e1b8271949d3b70e820b8e08c542ad1586c96f9d.tar.gz
avfilter/framequeue: add missing check for ASSERT_LEVEL
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavfilter/framequeue.c2
1 files changed, 1 insertions, 1 deletions
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;