[FFmpeg-devel] [PATCH] G.729 initialization routine (skeleton)

Diego Biurrun diego
Sat Jun 6 19:19:25 CEST 2009


On Sun, Jun 07, 2009 at 12:18:10AM +0700, Vladimir Voroshilov wrote:
> 
> Here is patch without format.
> 
> --- ffmpeg-r19125.orig/libavcodec/g729dec.c
> +++ ffmpeg-r19125.mod/libavcodec/g729dec.c
> @@ -97,11 +101,39 @@ static inline int get_parity(uint8_t value)
>  
> +static int decoder_init(AVCodecContext * avctx)

This function should likely be marked av_cold.

Please doublecheck which other functions could receive this attribute.

Diego



More information about the ffmpeg-devel mailing list