Revision 8993535c libavformat/tta.c

View differences:

libavformat/tta.c
35 35
    if (ff_id3v2_match(d))
36 36
        d += ff_id3v2_tag_len(d);
37 37

  
38
    if (d - p->buf >= p->buf_size)
39
        return 0;
40

  
38 41
    if (d[0] == 'T' && d[1] == 'T' && d[2] == 'A' && d[3] == '1')
39 42
        return 80;
40 43
    return 0;

Also available in: Unified diff