Commit b08edfb4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix swscale linking

parent 63ff7505
...@@ -41,7 +41,7 @@ SOURCES_canvas = canvas.c ...@@ -41,7 +41,7 @@ SOURCES_canvas = canvas.c
SOURCES_blendbench = blendbench.c SOURCES_blendbench = blendbench.c
SOURCES_chain = chain.c SOURCES_chain = chain.c
SOURCES_postproc = postproc.c SOURCES_postproc = postproc.c
SOURCES_swscale = swscale.c ../codec/avcodec/chroma.h SOURCES_swscale = swscale.c ../codec/avcodec/chroma.c
SOURCES_imgresample = imgresample.c ../codec/avcodec/chroma.h SOURCES_imgresample = imgresample.c ../codec/avcodec/chroma.h
SOURCES_scene = scene.c SOURCES_scene = scene.c
SOURCES_yuvp = yuvp.c SOURCES_yuvp = yuvp.c
......
...@@ -36,12 +36,15 @@ ...@@ -36,12 +36,15 @@
#ifdef HAVE_LIBSWSCALE_SWSCALE_H #ifdef HAVE_LIBSWSCALE_SWSCALE_H
# include <libswscale/swscale.h> # include <libswscale/swscale.h>
# include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_SWSCALE_H) #elif defined(HAVE_FFMPEG_SWSCALE_H)
# include <ffmpeg/swscale.h> # include <ffmpeg/swscale.h>
# include <ffmpeg/avcodec.h>
#endif #endif
/* Gruikkkkkkkkkk!!!!! */ /* Gruikkkkkkkkkk!!!!! */
#include "../codec/avcodec/chroma.h" #include "../codec/avcodec/avcodec.h"
#undef AVPALETTE_SIZE
#define AVPALETTE_SIZE (256 * sizeof(uint32_t)) #define AVPALETTE_SIZE (256 * sizeof(uint32_t))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment