[FFmpeg-devel] [PATCH] Add objs to h264 parser.

Michael Niedermayer michaelni
Fri Feb 12 01:50:12 CET 2010


On Thu, Feb 11, 2010 at 08:45:34PM -0200, Ramiro Polla wrote:
> ./configure --disable-parsers --disable-decoders --disable-encoders
> --disable-bsfs --disable-muxers --disable-demuxers --disable-indevs
> --disable-outdevs --disable-network --enable-parser=h264 && make
> 
> fails to build because of undefined references.

>  Makefile |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 83da30e5b791a57c7bcaabf34d997c8b02809af3  h264_parser_no_decoder.diff
> Index: libavcodec/Makefile
> ===================================================================
> --- libavcodec/Makefile	(revision 21754)
> +++ libavcodec/Makefile	(working copy)
> @@ -507,8 +507,10 @@
>  OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
>  OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
>  OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
> -OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264.o h264idct.o \
> -                                          h264pred.o cabac.o              \
> +OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264.o h264idct.o h264_ps.o \
> +                                          h264_sei.o h264_refs.o h264pred.o \
> +                                          h264_loopfilter.o h264_direct.o \
> +                                          cabac.o h264_cabac.o h264_cavlc.o \
>                                            mpegvideo.o error_resilience.o

iam not makefile maintainer but the parser definitly does not need the
loopfilter code nor the idct
if such dependancies exist they are indirect and should be specified in
a more sane way like
"if h264.o is included you must include h264idct.o"

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100212/d4651f42/attachment.pgp>



More information about the ffmpeg-devel mailing list