libavutil/avassert.h File Reference

simple assert() macros that are a bit more flexible than ISO C assert(). More...

#include <stdlib.h>
#include "avutil.h"
#include "log.h"

Go to the source code of this file.

Defines

#define av_assert0(cond)
 assert() equivalent, that is always enabled.
#define av_assert1(cond)   ((void)0)
 assert() equivalent, that does not lie in speed critical code.
#define av_assert2(cond)   ((void)0)
 assert() equivalent, that does lie in speed critical code.


Detailed Description

simple assert() macros that are a bit more flexible than ISO C assert().

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file avassert.h.


Define Documentation

#define av_assert0 ( cond   ) 

#define av_assert1 ( cond   )     ((void)0)

assert() equivalent, that does not lie in speed critical code.

These asserts() thus can be enabled without fearing speedloss.

Definition at line 53 of file avassert.h.

Referenced by decode_slice(), find_scale_factor7(), and validate_options().

#define av_assert2 ( cond   )     ((void)0)

assert() equivalent, that does lie in speed critical code.

Definition at line 63 of file avassert.h.

Referenced by asym_quant(), av_reduce(), decode_line(), ff_ac3_group_exponents(), output_frame_end(), set(), and sym_quant().


Generated on Fri Oct 26 02:46:14 2012 for FFmpeg by  doxygen 1.5.8