Revision e356fc57 libavformat/avienc.c

View differences:

libavformat/avienc.c
444 444
         /* Updating one entry in the AVI OpenDML master index */
445 445
         avio_seek(pb, avist->indexes.indx_start - 8, SEEK_SET);
446 446
         ffio_wfourcc(pb, "indx");            /* enabling this entry */
447
         url_fskip(pb, 8);
447
         avio_seek(pb, 8, SEEK_CUR);
448 448
         avio_wl32(pb, avi->riff_id);         /* nEntriesInUse */
449
         url_fskip(pb, 16*avi->riff_id);
449
         avio_seek(pb, 16*avi->riff_id, SEEK_CUR);
450 450
         avio_wl64(pb, ix);                   /* qwOffset */
451 451
         avio_wl32(pb, pos - ix);             /* dwSize */
452 452
         avio_wl32(pb, avist->indexes.entry); /* dwDuration */
......
603 603
            file_size = url_ftell(pb);
604 604
            avio_seek(pb, avi->odml_list - 8, SEEK_SET);
605 605
            ffio_wfourcc(pb, "LIST"); /* Making this AVI OpenDML one */
606
            url_fskip(pb, 16);
606
            avio_seek(pb, 16, SEEK_CUR);
607 607

  
608 608
            for (n=nb_frames=0;n<s->nb_streams;n++) {
609 609
                AVCodecContext *stream = s->streams[n]->codec;

Also available in: Unified diff