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

Diego Biurrun diego
Sun Jun 7 02:19:36 CEST 2009


On Sun, Jun 07, 2009 at 02:50:30AM +0700, Vladimir Voroshilov wrote:
> Main decoding routine (almost complete).
> 
> --- ffmpeg-r19127.orig/libavcodec/g729dec.c
> +++ ffmpeg-r19127.mod/libavcodec/g729dec.c
> @@ -158,15 +161,26 @@ static av_cold int decoder_init(AVCodecContext * avctx)
>  
> +    const uint8_t *buf = avpkt->data;
> +    int buf_size = avpkt->size;

Things like this could be vertically aligned for better readability.

Diego



More information about the ffmpeg-devel mailing list