[FFmpeg-soc] [soc]: r815 - in dirac: ffmpeg.diff libavcodec/dirac.c

Diego Biurrun diego at biurrun.de
Wed Aug 15 16:30:20 CEST 2007


On Wed, Aug 15, 2007 at 04:03:59PM +0200, marco wrote:
> 
> Log:
> basic code for the encoder
> 
> --- dirac/ffmpeg.diff	(original)
> +++ dirac/ffmpeg.diff	Wed Aug 15 16:03:59 2007
> @@ -2937,14 +2958,14 @@ AVCodec dirac_decoder = {
>  
> +#ifdef CONFIG_ENCODERS
> +AVCodec dirac_encoder = {
> +    "dirac",
> +    CODEC_TYPE_VIDEO,
> +    CODEC_ID_DIRAC,
> +    sizeof(DiracContext),
> +    encode_init,
> +    encode_frame,
> +    encode_end,
> +};
> +#endif

The #ifdefs remind me: Please split the encoder off into a separate
file.

Diego



More information about the FFmpeg-soc mailing list