Revision f59d8ff8 libavformat/bethsoftvid.c

View differences:

libavformat/bethsoftvid.c
67 67
    *    bytes: 'V' 'I' 'D'
68 68
    *    int16s: always_512, nframes, width, height, delay, always_14
69 69
    */
70
    url_fseek(pb, 5, SEEK_CUR);
70
    avio_seek(pb, 5, SEEK_CUR);
71 71
    vid->nframes = avio_rl16(pb);
72 72

  
73 73
    stream = av_new_stream(s, 0);
......
146 146
        if(bytes_copied == npixels){ // sometimes no stop character is given, need to keep track of bytes copied
147 147
            // may contain a 0 byte even if read all pixels
148 148
            if(avio_r8(pb))
149
                url_fseek(pb, -1, SEEK_CUR);
149
                avio_seek(pb, -1, SEEK_CUR);
150 150
            break;
151 151
        }
152 152
        if(bytes_copied > npixels)
......
185 185
    block_type = avio_r8(pb);
186 186
    switch(block_type){
187 187
        case PALETTE_BLOCK:
188
            url_fseek(pb, -1, SEEK_CUR);     // include block type
188
            avio_seek(pb, -1, SEEK_CUR);     // include block type
189 189
            ret_value = av_get_packet(pb, pkt, 3 * 256 + 1);
190 190
            if(ret_value != 3 * 256 + 1){
191 191
                av_free_packet(pkt);

Also available in: Unified diff