[FFmpeg-cvslog] r22611 - trunk/ffplay.c

diego subversion
Sat Mar 20 22:39:50 CET 2010


Author: diego
Date: Sat Mar 20 22:39:50 2010
New Revision: 22611

Log:
Move variable declaration, fixes the warning:
ffplay.c:1703: warning: unused variable `pos'

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Sat Mar 20 22:27:06 2010	(r22610)
+++ trunk/ffplay.c	Sat Mar 20 22:39:50 2010	(r22611)
@@ -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");



More information about the ffmpeg-cvslog mailing list