Revision b7f2fdde libavformat/swfenc.c

View differences:

libavformat/swfenc.c
326 326
        put_swf_end_tag(s);
327 327
    }
328 328

  
329
    put_flush_packet(s->pb);
329
    avio_flush(s->pb);
330 330
    return 0;
331 331
}
332 332

  
......
432 432
    put_swf_tag(s, TAG_SHOWFRAME);
433 433
    put_swf_end_tag(s);
434 434

  
435
    put_flush_packet(s->pb);
435
    avio_flush(s->pb);
436 436

  
437 437
    return 0;
438 438
}
......
489 489
    put_swf_tag(s, TAG_END);
490 490
    put_swf_end_tag(s);
491 491

  
492
    put_flush_packet(s->pb);
492
    avio_flush(s->pb);
493 493

  
494 494
    /* patch file size and number of frames if not streamed */
495 495
    if (!url_is_streamed(s->pb) && video_enc) {

Also available in: Unified diff