[FFmpeg-devel] [PATCH] remove superfluous fastmemcpy.h #includes

Diego Biurrun diego
Mon May 28 10:54:41 CEST 2007


With the recent discussion about fastmemcpy.h I've looked into the issue
again and noticed that all but one #includes of that file are
superfluous.

fastmemcpy.h is included from libavutil/internal.h, which is included
from libavutil/common.h, which is included from libavutil/avutil.h and
this file is included directly or indirectly from almost every file in
FFmpeg, including all those that have an explicit fastmemcpy.h #include.

So I propose the attached patch that removes the explicit #includes and
hides this mess deep in the bowels of libavutil, where it belongs.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fastmemcpy.patch
Type: text/x-diff
Size: 2612 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070528/4d281c24/attachment.patch>



More information about the ffmpeg-devel mailing list