static void sample_queue_push(HintSampleQueue *queue, uint8_t *data, int size,

                              int sample)

{

    /* No need to keep track of smaller samples, since describing them

     * with immediates is more efficient. */

    if (size <= 14)

        return;

    if (!queue->samples || queue->len >= queue->size) {

        HintSample *samples;

        samples = av_realloc(queue->samples, sizeof(HintSample) * (queue->size + 10));

        if (!samples)

            return;

        queue->size += 10;

        queue->samples = samples;

    }

    queue->samples[queue->len].data = data;

    queue->samples[queue->len].size = size;

    queue->samples[queue->len].sample_number = sample;

    queue->samples[queue->len].offset   = 0;

    queue->samples[queue->len].own_data = 0;

    queue->len++;

}

static void sample_queue_push(HintSampleQueue *queue, uint8_t *data, int size,

                              int sample)

{

    



    if (size <= 14)

        return;

    if (!queue->samples || queue->len >= queue->size) {

        HintSample *samples;

        samples = av_realloc(queue->samples, sizeof(HintSample) * (queue->size + 10));

        if (!samples)

            return;

        queue->size += 10;

        queue->samples = samples;

    }

    queue->samples[queue->len].data = data;

    queue->samples[queue->len].size = size;

    queue->samples[queue->len].sample_number = sample;

    queue->samples[queue->len].offset   = 0;

    queue->samples[queue->len].own_data = 0;

    queue->len++;

}

        samples = av_realloc(queue->samples, sizeof(HintSample) * (queue->size + 10));
static void FUNC_0(HintSampleQueue *VAR_0, uint8_t *VAR_1, int VAR_2,

                              int VAR_3)

{

    



    if (VAR_2 <= 14)

        return;

    if (!VAR_0->samples || VAR_0->len >= VAR_0->VAR_2) {

        HintSample *samples;

        samples = av_realloc(VAR_0->samples, sizeof(HintSample) * (VAR_0->VAR_2 + 10));

        if (!samples)

            return;

        VAR_0->VAR_2 += 10;

        VAR_0->samples = samples;

    }

    VAR_0->samples[VAR_0->len].VAR_1 = VAR_1;

    VAR_0->samples[VAR_0->len].VAR_2 = VAR_2;

    VAR_0->samples[VAR_0->len].sample_number = VAR_3;

    VAR_0->samples[VAR_0->len].offset   = 0;

    VAR_0->samples[VAR_0->len].own_data = 0;

    VAR_0->len++;

}

static void FUNC_0(HintSampleQueue *VAR_0, uint8_t *VAR_1, int VAR_2,
int VAR_3)
{ if (VAR_2 <= 14)
return; if (!VAR_0->samples || VAR_0->len >= VAR_0->VAR_2) { HintSample *samples; samples = av_realloc(VAR_0->samples, sizeof(HintSample) * (VAR_0->VAR_2 + 10)); if (!samples)
return; VAR_0->VAR_2 += 10; VAR_0->samples = samples; } VAR_0->samples[VAR_0->len].VAR_1 = VAR_1; VAR_0->samples[VAR_0->len].VAR_2 = VAR_2; VAR_0->samples[VAR_0->len].sample_number = VAR_3; VAR_0->samples[VAR_0->len].offset   = 0; VAR_0->samples[VAR_0->len].own_data = 0; VAR_0->len++; }