Revision f59d8ff8 libavformat/westwood.c

View differences:

libavformat/westwood.c
231 231
    st->codec->codec_tag = 0;  /* no fourcc */
232 232

  
233 233
    /* skip to the start of the VQA header */
234
    url_fseek(pb, 20, SEEK_SET);
234
    avio_seek(pb, 20, SEEK_SET);
235 235

  
236 236
    /* the VQA header needs to go to the decoder */
237 237
    st->codec->extradata_size = VQA_HEADER_SIZE;
......
303 303
            break;
304 304
        }
305 305

  
306
        url_fseek(pb, chunk_size, SEEK_CUR);
306
        avio_seek(pb, chunk_size, SEEK_CUR);
307 307
    } while (chunk_tag != FINF_TAG);
308 308

  
309 309
    return 0;
......
348 348
            }
349 349
            /* stay on 16-bit alignment */
350 350
            if (skip_byte)
351
                url_fseek(pb, 1, SEEK_CUR);
351
                avio_seek(pb, 1, SEEK_CUR);
352 352

  
353 353
            return ret;
354 354
        } else {
......
359 359
            default:
360 360
                av_log(s, AV_LOG_INFO, "Skipping unknown chunk 0x%08X\n", chunk_type);
361 361
            }
362
            url_fseek(pb, chunk_size + skip_byte, SEEK_CUR);
362
            avio_seek(pb, chunk_size + skip_byte, SEEK_CUR);
363 363
        }
364 364
    }
365 365

  

Also available in: Unified diff