[GRASS-SVN] r31696 - grass/trunk/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 12 23:17:06 EDT 2008
Author: glynn
Date: 2008-06-12 23:17:05 -0400 (Thu, 12 Jun 2008)
New Revision: 31696
Modified:
grass/trunk/lib/ogsf/gsd_img_mpeg.c
Log:
Remove unused references to <swscale.h>
Modified: grass/trunk/lib/ogsf/gsd_img_mpeg.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_img_mpeg.c 2008-06-13 00:38:16 UTC (rev 31695)
+++ grass/trunk/lib/ogsf/gsd_img_mpeg.c 2008-06-13 03:17:05 UTC (rev 31696)
@@ -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 @@
{
int out_size, ret;
AVCodecContext *c;
- static struct SwsContext *img_convert_ctx;
c = st->codec;
More information about the grass-commit
mailing list