[Ffmpeg-devel] rtp_h264.c Make DEBUG build work [PATCH]

Ryan Martell rdm4
Fri Feb 23 16:06:48 CET 2007


You are correct, but...

If DEBUG is locally defined, and NDEBUG is not defined, then assert()  
is noop, and as it stands in the code base, it won't compile.

That's why I didn't see it, because on my local build assert() is nop.

On Feb 23, 2007, at 7:40 AM, Michael Niedermayer wrote:

> Hi
>
> On Fri, Feb 23, 2007 at 07:27:10AM -0600, Ryan Martell wrote:
>> If DEBUG is defined, the rtp_h264.c stuff didn't compile, because I
>> didn't initialize a variable conditionally.  This patch fixes that.
>
> assert() depends on NDEBUG IIRC not DEBUG
>
> [...]
> -- 
> Michael     GnuPG fingerprint:  
> 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> While the State exists there can be no freedom; when there is  
> freedom there
> will be no State. -- Vladimir Lenin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list