ffmpeg | branch: master | James Almer <[email protected]> | Sat Dec 24 01:56:24 
2016 -0300| [e1b8271949d3b70e820b8e08c542ad1586c96f9d] | committer: James Almer

avfilter/framequeue: add missing check for ASSERT_LEVEL

Signed-off-by: James Almer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1b8271949d3b70e820b8e08c542ad1586c96f9d
---

 libavfilter/framequeue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/framequeue.c b/libavfilter/framequeue.c
index debeab2..a4ffa86 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;
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to