Revision b7f2fdde libavformat/amr.c

View differences:

libavformat/amr.c
50 50
    {
51 51
        return -1;
52 52
    }
53
    put_flush_packet(pb);
53
    avio_flush(pb);
54 54
    return 0;
55 55
}
56 56

  
57 57
static int amr_write_packet(AVFormatContext *s, AVPacket *pkt)
58 58
{
59 59
    avio_write(s->pb, pkt->data, pkt->size);
60
    put_flush_packet(s->pb);
60
    avio_flush(s->pb);
61 61
    return 0;
62 62
}
63 63
#endif /* CONFIG_AMR_MUXER */

Also available in: Unified diff