Revision e63a3628 libavformat/oma.c

View differences:

libavformat/oma.c
79 79
    AVStream *st;
80 80

  
81 81
    ff_id3v2_read(s, ID3v2_EA3_MAGIC);
82
    ret = get_buffer(s->pb, buf, EA3_HEADER_SIZE);
82
    ret = avio_read(s->pb, buf, EA3_HEADER_SIZE);
83 83

  
84 84
    if (memcmp(buf, ((const uint8_t[]){'E', 'A', '3'}),3) || buf[4] != 0 || buf[5] != EA3_HEADER_SIZE) {
85 85
        av_log(s, AV_LOG_ERROR, "Couldn't find the EA3 header !\n");

Also available in: Unified diff