[FFmpeg-cvslog] lavu/parseutils: remove unused gcd variable in av_parse_ratio()

Stefano Sabatini git at videolan.org
Mon Oct 22 10:50:56 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Oct 22 10:24:04 2012 +0200| [b6e36a424447413d959753f6e703f35bcfb8cd7b] | committer: Stefano Sabatini

lavu/parseutils: remove unused gcd variable in av_parse_ratio()

Fix warning.

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

 libavutil/parseutils.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index b201331..0a7a622 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -47,7 +47,6 @@ int av_parse_ratio(AVRational *q, const char *str, int max,
 {
     char c;
     int ret;
-    int64_t gcd;
 
     if (sscanf(str, "%d:%d%c", &q->num, &q->den, &c) != 2) {
         double d;



More information about the ffmpeg-cvslog mailing list