Browse Source

Remove unused references to <swscale.h>

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31696 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 years ago
parent
commit
12efe958cb
1 changed files with 0 additions and 4 deletions
  1. 0 4
      lib/ogsf/gsd_img_mpeg.c

+ 0 - 4
lib/ogsf/gsd_img_mpeg.c

@@ -27,7 +27,6 @@
 /* FFMPEG stuff */
 #ifdef HAVE_FFMPEG
 #include <avformat.h>
-#include <swscale.h>
 
 /* 5 seconds stream duration */
 #define STREAM_DURATION   5.0
@@ -35,8 +34,6 @@
 #define STREAM_NB_FRAMES  ((int)(STREAM_DURATION * STREAM_FRAME_RATE))
 #define STREAM_PIX_FMT PIX_FMT_YUV420P /* default pix_fmt */
 
-static int sws_flags = SWS_BICUBIC;
-
 AVFrame *picture, *tmp_picture;
 uint8_t *video_outbuf;
 int frame_count, video_outbuf_size;
@@ -206,7 +203,6 @@ static void write_video_frame(AVFormatContext *oc, AVStream *st)
 {
     int out_size, ret;
     AVCodecContext *c;
-    static struct SwsContext *img_convert_ctx;
 
     c = st->codec;