Skip to content
Snippets Groups Projects
Commit c619572a authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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
parent b926b628
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ ...@@ -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 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment