Revision b7effd4e libavformat/rpl.c

View differences:

libavformat/rpl.c
51 51
{
52 52
    int i;
53 53
    for (i = 0; i < bufsize - 1; i++) {
54
        int b = get_byte(pb);
54
        int b = avio_r8(pb);
55 55
        if (b == 0)
56 56
            break;
57 57
        if (b == '\n') {
......
301 301
        // multiple frames per chunk in Escape 124 samples.
302 302
        uint32_t frame_size, frame_flags;
303 303

  
304
        frame_flags = get_le32(pb);
305
        frame_size = get_le32(pb);
304
        frame_flags = avio_rl32(pb);
305
        frame_size = avio_rl32(pb);
306 306
        if (url_fseek(pb, -8, SEEK_CUR) < 0)
307 307
            return AVERROR(EIO);
308 308

  

Also available in: Unified diff