[Ffmpeg-devel] [PATCH] make dvdsub encoder depend on config variables

Guillaume POIRIER poirierg
Mon Nov 21 21:05:03 CET 2005


Hi,

On 21 Nov 2005 13:47:44 -0000, Wolfram Gloger
<wmglo at dent.med.uni-muenchen.de> wrote:
> > Given that each sub/dec is supposed to be independent the one from the
> > other, may the attached patch be ok? (I have not tested it though, and
> > will only be able to do so tonight).
> ...
> > diff -u -r1.114 allcodecs.c
> > --- libavcodec/allcodecs.c    14 Nov 2005 22:17:29 -0000      1.114
> > +++ libavcodec/allcodecs.c    20 Nov 2005 20:08:58 -0000
> > @@ -568,14 +568,18 @@
> >  #undef PCM_CODEC
> >
> >      /* subtitles */
> > -#ifdef CONFIG_ENCODERS
> > -    register_avcodec(&dvbsub_encoder);
> > +#ifdef CONFIG_DVDSUB_DECODERS
> ...
> > +#ifdef CONFIG_DVBSUB_DECODERS
>
> Looks fine except for s/DECODERS/DECODER/..

Applied an improved different solution.

Guillaume
--
Remember, if you ever need a helping hand, it's
at the end of your arm, as you get older, remember
you have another hand:
The first is to help yourself,
the second is to help others.
-- Audrey Hepburn





More information about the ffmpeg-devel mailing list