[SCM] libav/experimental: make sure NDEBUG is not defined already before defining it Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org Original thread: Date: Jun 30, 2006 1:09 AM Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:48:28 UTC 2013
The following commit has been merged in the experimental branch:
commit 72468a035adcd5b7e1ef245484be8e84273688bf
Author: Diego Pettenò <flameeyes at gmail.com>
Date: Fri Jun 30 07:45:31 2006 +0000
make sure NDEBUG is not defined already before defining it
Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 1:09 AM
Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition
Originally committed as revision 5557 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavutil/common.h b/libavutil/common.h
index ae32512..c951f5b 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -288,7 +288,7 @@ static inline float floorf(float f) {
/* debug stuff */
-# ifndef DEBUG
+# if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
# endif
# include <assert.h>
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list