summaryrefslogtreecommitdiff
path: root/libavformat/id3v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/id3v1.c')
-rw-r--r--libavformat/id3v1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/id3v1.c b/libavformat/id3v1.c
index 23cacf78c5..1f1df9cd02 100644
--- a/libavformat/id3v1.c
+++ b/libavformat/id3v1.c
@@ -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 */