Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 791220
Collapse All | Expand All

(-)a/libhb/encavcodecaudio.c (-1 / +4 lines)
Lines 409-415 Link Here
409
409
410
        // Prepare input frame
410
        // Prepare input frame
411
        int     out_size;
411
        int     out_size;
412
        AVFrame frame = { .nb_samples = pv->samples_per_frame, };
412
        AVFrame frame = { .nb_samples = pv->samples_per_frame,
413
                          .format = pv->context->sample_fmt,
414
                          .channels = pv->context->channels
415
        };
413
416
414
        out_size = av_samples_get_buffer_size(NULL,
417
        out_size = av_samples_get_buffer_size(NULL,
415
                                              pv->context->channels,
418
                                              pv->context->channels,

Return to bug 791220