0x80000000, 0x80000000, 0x80000000, 0x80000000
};
-static const uint32_t *shift_16 = shift_1 + 4;
+static const uint32_t * const shift_16 = shift_1 + 4;
#endif
#define MAX_ORDER 16
int32_t dl[MAX_ORDER];
} TTAFilter;
-static int32_t ttafilter_configs[4][2] = {
+static const int32_t ttafilter_configs[4][2] = {
{10, 1},
{9, 1},
{10, 1},
return ret;
}
-static int tta_decode_init(AVCodecContext * avctx)
+static av_cold int tta_decode_init(AVCodecContext * avctx)
{
TTAContext *s = avctx->priv_data;
int i;
static int tta_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
TTAContext *s = avctx->priv_data;
int i;
return buf_size;
}
-static int tta_decode_close(AVCodecContext *avctx) {
+static av_cold int tta_decode_close(AVCodecContext *avctx) {
TTAContext *s = avctx->priv_data;
if (s->decode_buffer)
NULL,
tta_decode_close,
tta_decode_frame,
+ .long_name = NULL_IF_CONFIG_SMALL("True Audio"),
};