From 27b893b231edc157b443b55edc20495c644d27a8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 6 Jun 2014 15:05:11 +0200 Subject: [PATCH] avformat/mov: fix "warning: variable altitude set but not used" warning Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index cc1ed42397..ff45394ae8 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -227,7 +227,7 @@ static int mov_metadata_loci(MOVContext *c, AVIOContext *pb, unsigned len) char language[4] = { 0 }; char buf[100]; uint16_t langcode = 0; - double longitude, latitude, altitude; + av_unused double longitude, latitude, altitude; const char *key = "location"; if (len < 4 + 2 + 1 + 1 + 4 + 4 + 4)