id3v1: change filesize to int64_t.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 25 Mar 2011 18:46:28 +0000 (19:46 +0100)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 29 Mar 2011 04:15:50 +0000 (21:15 -0700)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/id3v1.c

index 23cacf7..1f1df9c 100644 (file)
@@ -225,9 +225,9 @@ static int parse_tag(AVFormatContext *s, const uint8_t *buf)
 
 void ff_id3v1_read(AVFormatContext *s)
 {
-    int ret, filesize;
+    int ret;
     uint8_t buf[ID3v1_TAG_SIZE];
-    int64_t position = avio_tell(s->pb);
+    int64_t filesize, position = avio_tell(s->pb);
 
     if (!url_is_streamed(s->pb)) {
         /* XXX: change that */