Revision b7f2fdde libavformat/assenc.c

View differences:

libavformat/assenc.c
50 50
        last=p;
51 51
    }
52 52

  
53
    put_flush_packet(s->pb);
53
    avio_flush(s->pb);
54 54

  
55 55
    return 0;
56 56
}
......
59 59
{
60 60
    avio_write(s->pb, pkt->data, pkt->size);
61 61

  
62
    put_flush_packet(s->pb);
62
    avio_flush(s->pb);
63 63

  
64 64
    return 0;
65 65
}
......
72 72
    avio_write(s->pb, avctx->extradata      + ass->extra_index,
73 73
                      avctx->extradata_size - ass->extra_index);
74 74

  
75
    put_flush_packet(s->pb);
75
    avio_flush(s->pb);
76 76

  
77 77
    return 0;
78 78
}

Also available in: Unified diff