Revision e63a3628 libavformat/id3v1.c

View differences:

libavformat/id3v1.c
233 233
        filesize = url_fsize(s->pb);
234 234
        if (filesize > 128) {
235 235
            url_fseek(s->pb, filesize - 128, SEEK_SET);
236
            ret = get_buffer(s->pb, buf, ID3v1_TAG_SIZE);
236
            ret = avio_read(s->pb, buf, ID3v1_TAG_SIZE);
237 237
            if (ret == ID3v1_TAG_SIZE) {
238 238
                parse_tag(s, buf);
239 239
            }

Also available in: Unified diff