[SCM] libav/experimental: Move variable declaration, fixes the warning: ffplay.c:1703: warning: unused variable `pos'

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:04:54 UTC 2013


The following commit has been merged in the experimental branch:
commit 4903b5ca35ec67dc2966ccccca384dddf27f50f4
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sat Mar 20 21:39:50 2010 +0000

    Move variable declaration, fixes the warning:
    ffplay.c:1703: warning: unused variable `pos'
    
    Originally committed as revision 22611 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffplay.c b/ffplay.c
index 18edfa3..315a126 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1700,11 +1700,12 @@ static int video_thread(void *arg)
 {
     VideoState *is = arg;
     AVFrame *frame= avcodec_alloc_frame();
-    int64_t pts_int, pos;
+    int64_t pts_int;
     double pts;
     int ret;
 
 #if CONFIG_AVFILTER
+    int64_t pos;
     AVFilterContext *filt_src = NULL, *filt_out = NULL;
     AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph));
     graph->scale_sws_opts = av_strdup("sws_flags=bilinear");

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list