Revision f7fcd6a2 libavformat/id3v2.c

View differences:

libavformat/id3v2.c
231 231
        /* Skip to end of tag */
232 232
        url_fseek(s->pb, next, SEEK_SET);
233 233
    }
234
    ff_metadata_conv(&s->metadata, NULL, ff_id3v2_metadata_conv);
235 234

  
236 235
    if (len > 0) {
237 236
        /* Skip padding */
......
261 260
        off = url_ftell(s->pb);
262 261
        ret = get_buffer(s->pb, buf, ID3v2_HEADER_SIZE);
263 262
        if (ret != ID3v2_HEADER_SIZE)
264
            return;
263
            break;
265 264
            found_header = ff_id3v2_match(buf, magic);
266 265
            if (found_header) {
267 266
            /* parse ID3v2 header */
......
274 273
            url_fseek(s->pb, off, SEEK_SET);
275 274
        }
276 275
    } while (found_header);
276
    ff_metadata_conv(&s->metadata, NULL, ff_id3v2_metadata_conv);
277 277
}
278 278

  
279 279
const AVMetadataConv ff_id3v2_metadata_conv[] = {

Also available in: Unified diff