[FFmpeg-cvslog] avfilter/framequeue: add missing check for ASSERT_LEVEL

James Almer git at videolan.org
Sat Dec 24 06:57:55 EET 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | 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 <jamrial at gmail.com>

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



More information about the ffmpeg-cvslog mailing list