]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imgresample.c
Simplify vsad16_mmx().
[ffmpeg] / libavcodec / imgresample.c
index e2cc0c27c91a577937faecbcd8c36d452b8852af..d9387f8389e9207ed2c2923ea6211fa64c3a2d78 100644 (file)
@@ -25,8 +25,8 @@
  */
 
 #include "avcodec.h"
-#include "swscale.h"
 #include "dsputil.h"
+#include "libswscale/swscale.h"
 
 #ifdef HAVE_ALTIVEC
 #include "ppc/imgresample_altivec.h"
@@ -48,7 +48,7 @@
 #define LINE_BUF_HEIGHT (NB_TAPS * 4)
 
 struct SwsContext {
-    AVClass *av_class;
+    const AVClass *av_class;
     struct ImgReSampleContext *resampling_ctx;
     enum PixelFormat src_pix_fmt, dst_pix_fmt;
 };
@@ -557,7 +557,6 @@ void sws_freeContext(struct SwsContext *ctx)
     } else {
         av_free(ctx->resampling_ctx);
     }
-    av_free(ctx->av_class);
     av_free(ctx);
 }