]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tmv.c
diracyasm: fix win64
[ffmpeg] / libavcodec / tmv.c
index 7eb9b6903ae91ffe8736058d4f4e55fbfbd7162f..e2397ce3790a084f187bdb6f44fe742fcec50f3f 100644 (file)
  * @see http://www.oldskool.org/pc/8088_Corruption
  */
 
+#include <string.h>
+
 #include "avcodec.h"
+#include "libavutil/internal.h"
 
 #include "cga_data.h"
 
@@ -103,7 +106,7 @@ static av_cold int tmv_decode_close(AVCodecContext *avctx)
 AVCodec ff_tmv_decoder = {
     .name           = "tmv",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_TMV,
+    .id             = AV_CODEC_ID_TMV,
     .priv_data_size = sizeof(TMVContext),
     .init           = tmv_decode_init,
     .close          = tmv_decode_close,