[FFmpeg-devel] [PATCH] Move ff_reverse to libavutil
Sat Nov 7 20:36:43 CET 2009
The ff_reverse array, which allows to reverse the bit order, is
currently declared as extern variable in libavcodec/get_bits.h and
defined as static variable in libavcodec/utils.c. If I try to include
libavcodec/get_bits.h from outside libavcodec, compilation fails because
that file includes mathops.h which in turn needs some libavcodec
internal definitions (it complains about missing INT_BIT).
The attached patch moves ff_reverse declaration and definition in
libavutil, making it possible to use ff_reverse from e.g. MPlayer code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6167 bytes
Desc: not available
More information about the ffmpeg-devel