[Ffmpeg-devel] [PATCH] assert.h cleanup

Gildas Bazin gbazin
Sat Dec 3 01:52:38 CET 2005


Here is a patch that removes the explicit inclusion of assert.h and undef of 
NDEBUG in a big bunch of files. assert.h is already included by common.h so 
there isn't any need to have it included anywhere else.

This patch allows compiling the code without asserts (with the help of 
--disable-debug) which does actually make a bit of difference in 
performance for the h264 codec for instance.
The main goal of the patch however is to be able to compile ffmpeg for the 
wince port of VLC media player (wince doesn't support assert).

Hopefully this won't be too controversial to be applied.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: assert-cleanup.diff
Type: text/x-diff
Size: 15725 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051203/dca83b41/attachment.diff>

More information about the ffmpeg-devel mailing list