[FFmpeg-devel] [PATCH 01/10] zlib decoder

Aurelien Jacobs aurel
Sun Jul 15 22:44:25 CEST 2007


On Sun, 15 Jul 2007 21:37:42 +0100
M?ns Rullg?rd <mans at mansr.com> wrote:

> Aurelien Jacobs <aurel at gnuage.org> writes:
> 
> > On Sun, 15 Jul 2007 21:12:21 +0100
> > Mans Rullgard <mans at mansr.com> wrote:
> >
> >> ---
> >>  libavcodec/Makefile  |    1 +
> >>  libavcodec/inflate.c |  844 ++++++++++++++++++++++++++++++++++++++++++++++++++
> >>  libavcodec/inflate.h |   80 +++++
> >>  3 files changed, 925 insertions(+), 0 deletions(-)
> >>  create mode 100644 libavcodec/inflate.c
> >>  create mode 100644 libavcodec/inflate.h
> >> 
> >> diff --git a/libavcodec/Makefile b/libavcodec/Makefile
> >> index e1685fe..e1f444a 100644
> >> --- a/libavcodec/Makefile
> >> +++ b/libavcodec/Makefile
> >> @@ -27,6 +27,7 @@ OBJS= bitstream.o \
> >>        opt.o \
> >>        bitstream_filter.o \
> >>        audioconvert.o \
> >> +      inflate.o \
> >
> > I would prefer if this was not compiled un-conditionally.
> > Adding inflate.o only for the codecs which require it would be better.
> > (but that can be changed later if you prefer)
> 
> Or we could install inflate.h and make this part of the public API.

That sure could be an option.
But I'm not sure if this is really desirable. I'm personally not fond
of the idea.

Aurel




More information about the ffmpeg-devel mailing list