aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-29 21:02:20 +0200
committerClément Bœsch <ubitux@gmail.com>2011-06-02 10:36:56 +0200
commitb443447536116f2843097f26a693478c66dcbe02 (patch)
tree95ed7e22367a636315cddf1b5ab2d7310956520e /ffplay.c
parent58fd70b04decdb7e5580c06b1be3bd573fabeeda (diff)
downloadffmpeg-b443447536116f2843097f26a693478c66dcbe02.tar.gz
Fix various uninitialized variable warnings
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index ffe1c0f12d..74d1f10945 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1740,7 +1740,7 @@ static int video_thread(void *arg)
{
VideoState *is = arg;
AVFrame *frame= avcodec_alloc_frame();
- int64_t pts_int, pos;
+ int64_t pts_int = AV_NOPTS_VALUE, pos = -1;
double pts;
int ret;