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

Wolfram Gloger wmglo
Mon Nov 21 14:47:44 CET 2005


> 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/..

Regards,
Wolfram.





More information about the ffmpeg-devel mailing list