[FFmpeg-devel] [PATCH] 8088flex TMV demuxer and decoder

Diego Biurrun diego
Wed Apr 22 07:46:02 CEST 2009


On Wed, Apr 22, 2009 at 12:37:14AM -0500, Daniel Verkamp wrote:
> 
> This is a demuxer and decoder for the TMV file format from 8088flex,
> the updated version of the 8088 Corruption player.  See
> http://www.oldskool.org/pc/8088_Corruption for samples.
> 
> --- /dev/null
> +++ b/libavcodec/cga_data.h

multiple inclusion guards

> --- /dev/null
> +++ b/libavcodec/tmv.c
> @@ -0,0 +1,116 @@
> +    if (!tmv->pal_set) {
> +        tmv->pal_set = 1;
> +        tmv->pic.palette_has_changed = 1;

align

> --- /dev/null
> +++ b/libavformat/tmv.c
> @@ -0,0 +1,149 @@
> +    TMVContext *tmv = s->priv_data;
> +    ByteIOContext *pb = s->pb;

align

> +        av_log(s, AV_LOG_ERROR, "unsupported compression method %d\n",
> +                                tmv->comp_method);

weird indentation

> +static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt)
> +{
> +    TMVContext *tmv = s->priv_data;
> +    ByteIOContext *pb = s->pb;

align

Diego



More information about the ffmpeg-devel mailing list