static void move_audio(vorbis_enc_context *venc, float **audio, int *samples, int sf_size)

{

    AVFrame *cur = NULL;

    int frame_size = 1 << (venc->log2_blocksize[1] - 1);

    int subframes = frame_size / sf_size;



    for (int sf = 0; sf < subframes; sf++) {

        cur = ff_bufqueue_get(&venc->bufqueue);

        *samples += cur->nb_samples;



        for (int ch = 0; ch < venc->channels; ch++) {

            const float *input = (float *) cur->extended_data[ch];

            const size_t len  = cur->nb_samples * sizeof(float);

            memcpy(&audio[ch][sf*sf_size], input, len);

        }

        av_frame_free(&cur);

    }

}

static void move_audio(vorbis_enc_context *venc, float **audio, int *samples, int sf_size)

{

    AVFrame *cur = NULL;

    int frame_size = 1 << (venc->log2_blocksize[1] - 1);

    int subframes = frame_size / sf_size;



    for (int sf = 0; sf < subframes; sf++) {

        cur = ff_bufqueue_get(&venc->bufqueue);

        *samples += cur->nb_samples;



        for (int ch = 0; ch < venc->channels; ch++) {

            const float *input = (float *) cur->extended_data[ch];

            const size_t len  = cur->nb_samples * sizeof(float);

            memcpy(&audio[ch][sf*sf_size], input, len);

        }

        av_frame_free(&cur);

    }

}

static void move_audio(vorbis_enc_context *venc, float **audio, int *samples, int sf_size)             memcpy(&audio[ch][sf*sf_size], input, len);
static void FUNC_0(vorbis_enc_context *VAR_0, float **VAR_1, int *VAR_2, int VAR_3)

{

    AVFrame *cur = NULL;

    int VAR_4 = 1 << (VAR_0->log2_blocksize[1] - 1);

    int VAR_5 = VAR_4 / VAR_3;



    for (int VAR_6 = 0; VAR_6 < VAR_5; VAR_6++) {

        cur = ff_bufqueue_get(&VAR_0->bufqueue);

        *VAR_2 += cur->nb_samples;



        for (int ch = 0; ch < VAR_0->channels; ch++) {

            const float *input = (float *) cur->extended_data[ch];

            const size_t len  = cur->nb_samples * sizeof(float);

            memcpy(&VAR_1[ch][VAR_6*VAR_3], input, len);

        }

        av_frame_free(&cur);

    }

}

static void FUNC_0(vorbis_enc_context *VAR_0, float **VAR_1, int *VAR_2, int VAR_3)
{ AVFrame *cur = NULL; int VAR_4 = 1 << (VAR_0->log2_blocksize[1] - 1); int VAR_5 = VAR_4 / VAR_3; for (int VAR_6 = 0; VAR_6 < VAR_5; VAR_6++) { cur = ff_bufqueue_get(&VAR_0->bufqueue); *VAR_2 += cur->nb_samples; for (int ch = 0; ch < VAR_0->channels; ch++) { const float *input = (float *) cur->extended_data[ch]; const size_t len  = cur->nb_samples * sizeof(float); memcpy(&VAR_1[ch][VAR_6*VAR_3], input, len); } av_frame_free(&cur); } }