[FFmpeg-devel] [PATCH] DeluxePaint Animation playback system (r2)
Diego Biurrun
diego
Tue Sep 1 14:26:12 CEST 2009
On Tue, Sep 01, 2009 at 10:21:03PM +1000, Peter Ross wrote:
> --- /dev/null
> +++ b/libavcodec/anm.c
> @@ -0,0 +1,188 @@
> +
> + uint8_t *dst = s->frame.data[0];
> + uint8_t *dst_end = s->frame.data[0] + s->frame.linesize[0]*avctx->height;
align
> --- /dev/null
> +++ b/libavformat/anm.c
> @@ -0,0 +1,264 @@
> +
> +static int read_header(AVFormatContext *s,
> + AVFormatParameters *ap)
> +{
> + AnmDemuxContext *anm = s->priv_data;
> + ByteIOContext *pb = s->pb;
align
> + anm->nb_pages = get_le16(pb);
> + anm->nb_records = get_le32(pb);
align
> +static int read_packet(AVFormatContext *s,
> + AVPacket *pkt)
indentation
> +static int read_close(AVFormatContext *s)
> +{
> + AnmDemuxContext *anm = s->priv_data;
> + int i;
> + for(i = 0; i < MAX_PAGES; i++)
for (
No more comments from me...
Diego
More information about the ffmpeg-devel
mailing list