[FFmpeg-devel] [PATCH] libavcodec/tableprint_vlc.h: include lavu/reverse.c for ff_reverse.

James Almer jamrial at gmail.com
Wed Aug 12 20:01:19 CEST 2015


On 12/08/15 6:22 AM, Alexis Ballier wrote:
> Fixes the build with --enable-hardcoded-tables since ff_reverse has moved to lavu.
> ---
>  libavcodec/tableprint_vlc.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h
> index 33a9c0e..675251a 100644
> --- a/libavcodec/tableprint_vlc.h
> +++ b/libavcodec/tableprint_vlc.h
> @@ -38,6 +38,7 @@
>  #include "tableprint.h"
>  #include "get_bits.h"
>  #include "mathtables.c"
> +#include "libavutil/reverse.c"
>  #include "bitstream.c"
>  
>  #define REPLACE_DEFINE2(type) write_##type##_array

Personally I'd say undo all the relevant lavc changes and put it back how it used
to, in mathtables.c

If this was about turning the public av_reverse from lavu private so it can be
safely removed next bump then there was no need to mess around with the lavc copy
of the table.


More information about the ffmpeg-devel mailing list