[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec allcodecs.c,1.112,1.113
Diego Biurrun
diego
Wed Oct 26 22:59:26 CEST 2005
On Wed, Oct 26, 2005 at 02:51:12PM +0200, Guillaume Poirier CVS wrote:
>
> +#if defined (CONFIG_ENCODERS) && defined (CONFIG_DECODERS)
> + #define PCM_CODEC(id, name) \
> + register_avcodec(& name ## _encoder); \
> + register_avcodec(& name ## _decoder);
> +#elif defined (CONFIG_ENCODERS)
> + #define PCM_CODEC(id, name) \
> + register_avcodec(& name ## _encoder);
> +#elif defined (CONFIG_DECODERS)
> + #define PCM_CODEC(id, name) \
> + register_avcodec(& name ## _decoder);
> #endif
I think just the two #elif blocks should be enough. They will of course
have to be changed to #if ...
> +#ifdef CONFIG_DECODERS
> + register_avcodec(&dvdsub_decoder);
> register_avcodec(&dvbsub_decoder);
> +#endif
duplicate line
Diego
More information about the ffmpeg-cvslog
mailing list