]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xxan.c
doc/APIchanges: add hashes and version numbers for recent entries
[ffmpeg] / libavcodec / xxan.c
index 865dfa8f872adbbc3dc878a60bc8464f2a42390c..7c4aaf281fd0510c9f87b739ed0a0dbadc1f57ae 100644 (file)
@@ -433,7 +433,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
     return avpkt->size;
 }
 
-AVCodec ff_xan_wc4_decoder = {
+const AVCodec ff_xan_wc4_decoder = {
     .name           = "xan_wc4",
     .long_name      = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
     .type           = AVMEDIA_TYPE_VIDEO,
@@ -443,5 +443,5 @@ AVCodec ff_xan_wc4_decoder = {
     .close          = xan_decode_end,
     .decode         = xan_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE,
 };