Fix a typo in the nameing of av_assert0() in currently not compiled code.

Originally committed as revision 25279 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 15 years ago
parent b926b6282d
commit c619572a7b
  1. 4
      libavutil/assert.h

@ -41,7 +41,7 @@
* These asserts() thus can be enabled without fearing speedloss. * These asserts() thus can be enabled without fearing speedloss.
*/ */
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0 #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
#define av_assert1(cond) av_assert_always(cond) #define av_assert1(cond) av_assert0(cond)
#else #else
#define av_assert1(cond) ((void)0) #define av_assert1(cond) ((void)0)
#endif #endif
@ -51,7 +51,7 @@
* assert() equivalent, that does lie in speed critical code. * assert() equivalent, that does lie in speed critical code.
*/ */
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
#define av_assert2(cond) av_assert_always(cond) #define av_assert2(cond) av_assert0(cond)
#else #else
#define av_assert2(cond) ((void)0) #define av_assert2(cond) ((void)0)
#endif #endif

Loading…
Cancel
Save