• Max Kellermann's avatar
    vorbis_encoder: fill the ogg_page in the read() method · 65cc280e
    Max Kellermann authored
    Add the "flush" flag, and defer the ogg_stream_flush() call.  Call
    ogg_stream_pageout() or ogg_stream_flush() (depending on the "flush"
    flag) in vorbis_encoder_read().  This prevents the ogg_page from
    getting overwritten by consecutive ogg_stream_pageout() calls.
    65cc280e
vorbis_encoder.c 9.79 KB