[FFmpeg-devel] [PATCH] DeluxePaint Animation playback system

Diego Biurrun diego
Mon Oct 12 12:45:45 CEST 2009


On Mon, Oct 12, 2009 at 09:10:22PM +1100, Peter Ross wrote:
> 
> Updated patch. PTS state stuff removed.

Why is this thing called ANM?

> --- /dev/null
> +++ b/libavcodec/anm.c
> @@ -0,0 +1,177 @@
> +static av_cold int decode_init(AVCodecContext *avctx){

Please use K&R function declarations like everywhere else in the file.

> --- /dev/null
> +++ b/libavformat/anm.c
> @@ -0,0 +1,261 @@
> +
> +    /* verify tags and video dimensions */
> +    if (AV_RL32(&p->buf[0]) == LPF_TAG &&
> +        AV_RL32(&p->buf[16]) == ANIM_TAG &&

I'd say align this.

Diego



More information about the ffmpeg-devel mailing list