Revision b7f2fdde libavformat/nutenc.c

View differences:

libavformat/nutenc.c
639 639
    if ((ret = write_headers(s, bc)) < 0)
640 640
        return ret;
641 641

  
642
    put_flush_packet(bc);
642
    avio_flush(bc);
643 643

  
644 644
    //FIXME index
645 645

  
......
843 843

  
844 844
    while(nut->header_count<3)
845 845
        write_headers(s, bc);
846
    put_flush_packet(bc);
846
    avio_flush(bc);
847 847
    ff_nut_free_sp(nut);
848 848
    av_freep(&nut->stream);
849 849
    av_freep(&nut->time_base);

Also available in: Unified diff