]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cyuv.c
x86: Refactor PSWAPD fallback implementations and port to cpuflags
[ffmpeg] / libavcodec / cyuv.c
index 4e3053838141a59693a72c964b48a65ebf88b4be..18767d78e89bc5d0a9a9c7a07afc5f3cd4077b1f 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "avcodec.h"
 #include "dsputil.h"
+#include "libavutil/internal.h"
 
 
 typedef struct CyuvDecodeContext {
@@ -52,7 +53,7 @@ static av_cold int cyuv_decode_init(AVCodecContext *avctx)
     if (s->width & 0x3)
         return -1;
     s->height = avctx->height;
-    avctx->pix_fmt = PIX_FMT_YUV411P;
+    avctx->pix_fmt = AV_PIX_FMT_YUV411P;
 
     return 0;
 }