[FFmpeg-cvslog] r16746 - trunk/libavcodec/rectangle.h

Måns Rullgård mans
Sat Jan 24 15:51:22 CET 2009


diego <subversion at mplayerhq.hu> writes:

> Author: diego
> Date: Sat Jan 24 15:46:00 2009
> New Revision: 16746
>
> Log:
> Add required headers to fix 'make checkheaders'.
>
> Modified:
>    trunk/libavcodec/rectangle.h
>
> Modified: trunk/libavcodec/rectangle.h
> ==============================================================================
> --- trunk/libavcodec/rectangle.h	Sat Jan 24 15:32:22 2009	(r16745)
> +++ trunk/libavcodec/rectangle.h	Sat Jan 24 15:46:00 2009	(r16746)
> @@ -28,7 +28,10 @@
>  #ifndef AVCODEC_RECTANGLE_H
>  #define AVCODEC_RECTANGLE_H
>
> +#include <assert.h>

Be careful with adding assert.h.  You just enabled assert() checking
unconditionally in that file and anything that includes it.  Before
this commit, assert.h was included through internal.h, which sets
NDEBUG before including it.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list