This avoids conflicts with the system assert.h. Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunktags/n0.8
| @@ -79,7 +79,7 @@ | |||||
| #include "cmdutils.h" | #include "cmdutils.h" | ||||
| #include "libavutil/assert.h" | |||||
| #include "libavutil/avassert.h" | |||||
| const char program_name[] = "FFmpeg"; | const char program_name[] = "FFmpeg"; | ||||
| const int program_birth_year = 2000; | const int program_birth_year = 2000; | ||||
| @@ -3,8 +3,8 @@ include $(SUBDIR)../config.mak | |||||
| NAME = avutil | NAME = avutil | ||||
| HEADERS = adler32.h \ | HEADERS = adler32.h \ | ||||
| assert.h \ | |||||
| attributes.h \ | attributes.h \ | ||||
| avassert.h \ | |||||
| avstring.h \ | avstring.h \ | ||||
| avutil.h \ | avutil.h \ | ||||
| base64.h \ | base64.h \ | ||||
| @@ -24,8 +24,8 @@ | |||||
| * @author Michael Niedermayer <michaelni@gmx.at> | * @author Michael Niedermayer <michaelni@gmx.at> | ||||
| */ | */ | ||||
| #ifndef AVUTIL_ASSERT_H | |||||
| #define AVUTIL_ASSERT_H | |||||
| #ifndef AVUTIL_AVASSERT_H | |||||
| #define AVUTIL_AVASSERT_H | |||||
| #include "avutil.h" | #include "avutil.h" | ||||
| #include "log.h" | #include "log.h" | ||||
| @@ -25,7 +25,7 @@ | |||||
| * @author Michael Niedermayer <michaelni@gmx.at> | * @author Michael Niedermayer <michaelni@gmx.at> | ||||
| */ | */ | ||||
| #include "assert.h" | |||||
| #include "avassert.h" | |||||
| //#include <math.h> | //#include <math.h> | ||||
| #include <limits.h> | #include <limits.h> | ||||