#include <stdlib.h>#include "config.h"#include "attributes.h"#include "log.h"#include "macros.h"Go to the source code of this file.
simple assert() macros that are a bit more flexible than ISO C assert().
Definition in file avassert.h.
assert() equivalent, that is always enabled.
Definition at line 41 of file avassert.h.
assert() equivalent, that does not lie in speed critical code.
These asserts() thus can be enabled without fearing speed loss.
Definition at line 57 of file avassert.h.
assert() equivalent, that does lie in speed critical code.
Definition at line 68 of file avassert.h.
Definition at line 69 of file avassert.h.
Asserts that are used as compiler optimization hints depending upon ASSERT_LEVEL and NBDEBUG.
Undefined behaviour occurs if execution reaches a point marked with av_unreachable() or if a condition used with av_assume() is false.
The condition used with av_assume() should not have side-effects and should be visible to the compiler.
Definition at line 108 of file avassert.h.
Definition at line 111 of file avassert.h.
Assert that floating point operations can be executed.
This will av_assert0() that the cpu is not in MMX state on X86