Revision 45a8a02a libavformat/westwood.c

View differences:

libavformat/westwood.c
303 303
            break;
304 304
        }
305 305

  
306
        avio_seek(pb, chunk_size, SEEK_CUR);
306
        avio_skip(pb, chunk_size);
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
                avio_seek(pb, 1, SEEK_CUR);
351
                avio_skip(pb, 1);
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
            avio_seek(pb, chunk_size + skip_byte, SEEK_CUR);
362
            avio_skip(pb, chunk_size + skip_byte);
363 363
        }
364 364
    }
365 365

  

Also available in: Unified diff