summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-03-20 21:39:50 +0000
committerDiego Biurrun <diego@biurrun.de>2010-03-20 21:39:50 +0000
commit4903b5ca35ec67dc2966ccccca384dddf27f50f4 (patch)
treef5e0151c8eb69daa6e226ff52d2d3dee02076b94 /ffplay.c
parent1366f0597853fc7986b51ee95d6dddc875ac9015 (diff)
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
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 18edfa3ae8..315a126894 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");