OSDN Git Service

Fix warnings:
authorDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 13:54:56 +0000 (13:54 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 13:54:56 +0000 (13:54 +0000)
swscale-example.c:87: warning: implicit declaration of function 'sws_format_name'
swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init'

Originally committed as revision 20037 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale-example.c

index 2bb1685..2c2ddd7 100644 (file)
@@ -25,6 +25,8 @@
 #undef HAVE_AV_CONFIG_H
 #include "avutil.h"
 #include "swscale.h"
+#include "swscale_internal.h"
+#include "rgb2rgb.h"
 
 static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){
        int x,y;