/*
- * Autodesc RLE Decoder
+ * Autodesk RLE Decoder
* Copyright (C) 2005 the ffmpeg project
*
* This file is part of FFmpeg.
/**
* @file aasc.c
- * Autodesc RLE Video Decoder by Konstantin Shishkov
+ * Autodesk RLE Video Decoder by Konstantin Shishkov
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "common.h"
#include "avcodec.h"
#include "dsputil.h"
} \
stream_byte = buf[stream_ptr++];
-static int aasc_decode_init(AVCodecContext *avctx)
+static av_cold int aasc_decode_init(AVCodecContext *avctx)
{
AascContext *s = avctx->priv_data;
static int aasc_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
AascContext *s = avctx->priv_data;
int stream_ptr = 4;
return buf_size;
}
-static int aasc_decode_end(AVCodecContext *avctx)
+static av_cold int aasc_decode_end(AVCodecContext *avctx)
{
AascContext *s = avctx->priv_data;
aasc_decode_end,
aasc_decode_frame,
CODEC_CAP_DR1,
+ .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
};