Revision b7f2fdde libavformat/avienc.c

View differences:

libavformat/avienc.c
393 393
    avi->movi_list = ff_start_tag(pb, "LIST");
394 394
    ffio_wfourcc(pb, "movi");
395 395

  
396
    put_flush_packet(pb);
396
    avio_flush(pb);
397 397

  
398 398
    return 0;
399 399
}
......
438 438
             avio_wl32(pb, ((uint32_t)ie->len & ~0x80000000) |
439 439
                          (ie->flags & 0x10 ? 0 : 0x80000000));
440 440
         }
441
         put_flush_packet(pb);
441
         avio_flush(pb);
442 442
         pos = avio_tell(pb);
443 443

  
444 444
         /* Updating one entry in the AVI OpenDML master index */
......
578 578
    if (size & 1)
579 579
        avio_w8(pb, 0);
580 580

  
581
    put_flush_packet(pb);
581
    avio_flush(pb);
582 582
    return 0;
583 583
}
584 584

  
......
624 624
            avi_write_counters(s, avi->riff_id);
625 625
        }
626 626
    }
627
    put_flush_packet(pb);
627
    avio_flush(pb);
628 628

  
629 629
    for (i=0; i<s->nb_streams; i++) {
630 630
         AVIStream *avist= s->streams[i]->priv_data;

Also available in: Unified diff