[GRASS-SVN] r31697 - grass/branches/develbranch_6/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 13 04:20:20 EDT 2008
Author: neteler
Date: 2008-06-13 04:20:20 -0400 (Fri, 13 Jun 2008)
New Revision: 31697
Modified:
grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c
Log:
Remove unused references to <swscale.h> (merge from trunk)
Modified: grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c 2008-06-13 03:17:05 UTC (rev 31696)
+++ grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c 2008-06-13 08:20:20 UTC (rev 31697)
@@ -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