Revision e356fc57 libavformat/r3d.c

View differences:

libavformat/r3d.c
72 72
    tmp = avio_rb32(s->pb); // filenum
73 73
    av_dlog(s, "filenum %d\n", tmp);
74 74

  
75
    url_fskip(s->pb, 32); // unknown
75
    avio_seek(s->pb, 32, SEEK_CUR); // unknown
76 76

  
77 77
    st->codec->width  = avio_rb32(s->pb);
78 78
    st->codec->height = avio_rb32(s->pb);
......
152 152
    tmp = avio_rb32(s->pb);
153 153
    av_dlog(s, "num audio chunks %d\n", tmp);
154 154

  
155
    url_fskip(s->pb, 6*4);
155
    avio_seek(s->pb, 6*4, SEEK_CUR);
156 156
}
157 157

  
158 158
static int r3d_read_header(AVFormatContext *s, AVFormatParameters *ap)
......
332 332
            break;
333 333
        default:
334 334
        skip:
335
            url_fskip(s->pb, atom.size-8);
335
            avio_seek(s->pb, atom.size-8, SEEK_CUR);
336 336
        }
337 337
    }
338 338
    return err;

Also available in: Unified diff