Go to the documentation of this file.
   27 #ifndef AVUTIL_AVASSERT_H 
   28 #define AVUTIL_AVASSERT_H 
   37 #define av_assert0(cond) do {                                           \ 
   39         av_log(NULL, AV_LOG_PANIC, "Assertion %s failed at %s:%d\n",    \ 
   40                AV_STRINGIFY(cond), __FILE__, __LINE__);                 \ 
   50 #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0 
   51 #define av_assert1(cond) av_assert0(cond) 
   53 #define av_assert1(cond) ((void)0) 
   60 #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 
   61 #define av_assert2(cond) av_assert0(cond) 
   63 #define av_assert2(cond) ((void)0)