[FFmpeg-cvslog] avformat/mov: fix "warning: variable altitude set but not used" warning

Michael Niedermayer git at videolan.org
Fri Jun 6 15:54:50 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun  6 15:05:11 2014 +0200| [27b893b231edc157b443b55edc20495c644d27a8] | committer: Michael Niedermayer

avformat/mov: fix "warning: variable altitude set but not used" warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27b893b231edc157b443b55edc20495c644d27a8
---

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index cc1ed42..ff45394 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)



More information about the ffmpeg-cvslog mailing list