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

(-)a/libmpcodecs/ad_ffmpeg.c (-2 lines)
Lines 239-245 static int init(sh_audio_t *sh_audio) Link Here
239
        lavc_context->bits_per_coded_sample = sh_audio->wf->wBitsPerSample;
239
        lavc_context->bits_per_coded_sample = sh_audio->wf->wBitsPerSample;
240
    }
240
    }
241
    lavc_context->request_channels = opts->audio_output_channels;
241
    lavc_context->request_channels = opts->audio_output_channels;
242
    lavc_context->request_sample_fmt = AV_SAMPLE_FMT_S16P;
243
    lavc_context->codec_tag = sh_audio->format; //FOURCC
242
    lavc_context->codec_tag = sh_audio->format; //FOURCC
244
    lavc_context->codec_type = AVMEDIA_TYPE_AUDIO;
243
    lavc_context->codec_type = AVMEDIA_TYPE_AUDIO;
245
    lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi
244
    lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi
246
- 

Return to bug 445512