[Ffmpeg-devel] [PATCH] Remove #ifdef for no threads

Ramiro Polla angustia
Sun Feb 25 23:21:39 CET 2007


Hello,

When there's no thread support, a dummy avcodec_thread_init is 
implemented in lavc/utils.c.
ffmpeg and ffplay #ifdef out the call to avcodec_thread_init when 
there's no thread support.
It's ok for them to call the dummy function. (it adds 372 bytes to 
ffmpeg.o tough).

Attached patch removes those ifdefs.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nothread.diff
Type: text/x-patch
Size: 1574 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070225/220491bc/attachment.bin>



More information about the ffmpeg-devel mailing list