avfilter/framequeue: add missing check for ASSERT_LEVEL

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2016-12-24 01:56:24 -03:00
parent 94eb600f35
commit e1b8271949

View File

@ -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;