Revision b7effd4e libavformat/eacdata.c

View differences:

libavformat/eacdata.c
51 51
    unsigned int sample_rate, header;
52 52
    AVStream *st;
53 53

  
54
    header = get_be16(pb);
54
    header = avio_rb16(pb);
55 55
    switch (header) {
56 56
        case 0x0400: cdata->channels = 1; break;
57 57
        case 0x0404: cdata->channels = 2; break;
......
61 61
            return -1;
62 62
    };
63 63

  
64
    sample_rate = get_be16(pb);
64
    sample_rate = avio_rb16(pb);
65 65
    url_fskip(pb, 12);
66 66

  
67 67
    st = av_new_stream(s, 0);

Also available in: Unified diff