Revision f59d8ff8 libavformat/flic.c

View differences:

libavformat/flic.c
135 135
        return AVERROR(EIO);
136 136
    }
137 137

  
138
    url_fseek(pb, -FLIC_PREAMBLE_SIZE, SEEK_CUR);
138
    avio_seek(pb, -FLIC_PREAMBLE_SIZE, SEEK_CUR);
139 139

  
140 140
    /* Time to figure out the framerate:
141 141
     * If the first preamble's magic number is 0xAAAA then this file is from
......
173 173
        av_set_pts_info(st, 64, FLIC_MC_SPEED, 70);
174 174

  
175 175
        /* rewind the stream since the first chunk is at offset 12 */
176
        url_fseek(pb, 12, SEEK_SET);
176
        avio_seek(pb, 12, SEEK_SET);
177 177

  
178 178
        /* send over abbreviated FLIC header chunk */
179 179
        av_free(st->codec->extradata);
......
239 239
            }
240 240

  
241 241
            /* skip useless 10B sub-header (yes, it's not accounted for in the chunk header) */
242
            url_fseek(pb, 10, SEEK_CUR);
242
            avio_seek(pb, 10, SEEK_CUR);
243 243

  
244 244
            pkt->stream_index = flic->audio_stream_index;
245 245
            pkt->pos = url_ftell(pb);
......
253 253
            packet_read = 1;
254 254
        } else {
255 255
            /* not interested in this chunk */
256
            url_fseek(pb, size - 6, SEEK_CUR);
256
            avio_seek(pb, size - 6, SEEK_CUR);
257 257
        }
258 258
    }
259 259

  

Also available in: Unified diff