diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index a3cbde5f0b495c3cd06d3ac9ce168d0a461db122..5065d08f19eabb1334c8b79b715dbf6b8d466e67 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -163,7 +163,7 @@ AVCodec txd_decoder = {
     NULL,
     txd_end,
     txd_decode_frame,
-    0,
+    CODEC_CAP_DR1,
     NULL,
     .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"),
 };