summaryrefslogtreecommitdiff
path: root/libavcodec/dxtory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dxtory.c')
-rw-r--r--libavcodec/dxtory.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c
index 76e9d605b8..bd51e5c1b9 100644
--- a/libavcodec/dxtory.c
+++ b/libavcodec/dxtory.c
@@ -28,6 +28,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "unary.h"
#include "thread.h"
@@ -870,11 +871,11 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
return avpkt->size;
}
-const AVCodec ff_dxtory_decoder = {
- .name = "dxtory",
- .long_name = NULL_IF_CONFIG_SMALL("Dxtory"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_DXTORY,
+const FFCodec ff_dxtory_decoder = {
+ .p.name = "dxtory",
+ .p.long_name = NULL_IF_CONFIG_SMALL("Dxtory"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_DXTORY,
.decode = decode_frame,
- .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
};