Revision 6612d8cf libavformat/mp3.c

View differences:

libavformat/mp3.c
42 42
    AVCodecContext avctx;
43 43

  
44 44
    buf0 = p->buf;
45
    if(ff_id3v2_match(buf0, ID3v2_DEFAULT_MAGIC)) {
46
        buf0 += ff_id3v2_tag_len(buf0);
47
    }
48 45
    end = p->buf + p->buf_size - sizeof(uint32_t);
49 46
    while(buf0 < end && !*buf0)
50 47
        buf0++;
......
156 153
    // lcm of all mp3 sample rates
157 154
    av_set_pts_info(st, 64, 1, 14112000);
158 155

  
159
    ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC);
160 156
    off = url_ftell(s->pb);
161 157

  
162 158
    if (!av_metadata_get(s->metadata, "", NULL, AV_METADATA_IGNORE_SUFFIX))

Also available in: Unified diff