#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "get_bits.h"
+#include "internal.h"
#include "ivi.h"
#include "ivi_dsp.h"
#include "indeo5data.h"
return 0;
}
-AVCodec ff_indeo5_decoder = {
+const AVCodec ff_indeo5_decoder = {
.name = "indeo5",
.long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"),
.type = AVMEDIA_TYPE_VIDEO,
.close = ff_ivi_decode_close,
.decode = ff_ivi_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};