]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vmdav.c
Hardcode register to prevent aparent miscompilation.
[ffmpeg] / libavcodec / vmdav.c
index d39ae91e39d2a205bc2493f9eeb81282cf8b716a..4c632621a80d83655edc09c2eee93aacdab91a14 100644 (file)
@@ -45,7 +45,6 @@
 #include <unistd.h>
 
 #include "avcodec.h"
-#include "dsputil.h"
 
 #define VMD_HEADER_SIZE 0x330
 #define PALETTE_COUNT 256
@@ -57,7 +56,6 @@
 typedef struct VmdVideoContext {
 
     AVCodecContext *avctx;
-    DSPContext dsp;
     AVFrame frame;
     AVFrame prev_frame;
 
@@ -336,7 +334,6 @@ static int vmdvideo_decode_init(AVCodecContext *avctx)
 
     s->avctx = avctx;
     avctx->pix_fmt = PIX_FMT_PAL8;
-    dsputil_init(&s->dsp, avctx);
 
     /* make sure the VMD header made it */
     if (s->avctx->extradata_size != VMD_HEADER_SIZE) {