[FFmpeg-devel] [RFC] av_assert

Reimar Döffinger Reimar.Doeffinger
Thu May 17 22:23:23 CEST 2007


Hello,
On Thu, May 17, 2007 at 10:14:46PM +0200, Alex Beregszaszi wrote:
[...]
> +#define av_assert(x) do { \
> +     if (!(x)) { \
> +        av_log(NULL, AV_LOG_ERROR, "Assertion '" #x "' failed in %s at %s:%d\n", __PRETTY_FUNCTION__, __FILE__, __LINE__); \
> +	abort(); \

EEVILTAB ;-)




More information about the ffmpeg-devel mailing list