[FFmpeg-cvslog] r15789 - in trunk: Changelog doc/general.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/eatgq.c

Aurelien Jacobs aurel
Sat Nov 8 02:32:28 CET 2008


pross wrote:

> Author: pross
> Date: Sat Nov  8 01:29:22 2008
> New Revision: 15789
> 
> Log:
> Electronic Arts TGQ video decoder
> 
> Added:
>    trunk/libavcodec/eatgq.c
> Modified:
>    trunk/Changelog
>    trunk/doc/general.texi
>    trunk/libavcodec/Makefile
>    trunk/libavcodec/allcodecs.c
>    trunk/libavcodec/avcodec.h
> 
> [...]
> 
> Modified: trunk/libavcodec/Makefile
> ==============================================================================
> --- trunk/libavcodec/Makefile	(original)
> +++ trunk/libavcodec/Makefile	Sat Nov  8 01:29:22 2008
> @@ -68,6 +68,7 @@ OBJS-$(CONFIG_DVVIDEO_ENCODER)         +
>  OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
>  OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o ac3dec.o ac3tab.o ac3dec_data.o ac3.o
>  OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
> +OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o
>  OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
>  OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
>  OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
> 
> [...]
> 
> Added: trunk/libavcodec/eatgq.c
> ==============================================================================
> --- (empty file)
> +++ trunk/libavcodec/eatgq.c	Sat Nov  8 01:29:22 2008
> @@ -0,0 +1,255 @@
> [...]
> +
> +#include "avcodec.h"
> +#define ALT_BITSTREAM_READER_LE
> +#include "bitstream.h"
> +#include "bytestream.h"
> +#include "dsputil.h"
> +extern const uint16_t ff_inv_aanscales[64]; //mpegvideo_enc.c

This don't compile if mpegvideo_enc is disabled...
Try this config:
./configure --disable-encoders  --disable-decoders \
            --disable-muxers    --disable-demuxers \
            --disable-parsers   --disable-bsfs     \
            --disable-protocols --disable-devices  \
            --disable-filters   --enable-decoder=eatgq

Attached patch fixes it. But this is really a lot of ugly unneeded
dependencies. IMHO, it would be better to simply move ff_inv_aanscales
somewhere else (maybe in mpeg12data.c).

Aurel




More information about the ffmpeg-cvslog mailing list