changeset 24108:51cd49ee92d6

Use new request_channels
author reimar
date Thu, 23 Aug 2007 20:29:57 +0000
parents d4adc8503dd5
children 4565ffb49fda
files libmpcodecs/ad_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c	Thu Aug 23 17:45:54 2007 +0000
+++ b/libmpcodecs/ad_ffmpeg.c	Thu Aug 23 20:29:57 2007 +0000
@@ -66,6 +66,7 @@
 	lavc_context->block_align = sh_audio->wf->nBlockAlign;
 	lavc_context->bits_per_sample = sh_audio->wf->wBitsPerSample;
     }
+    lavc_context->request_channels = audio_output_channels;
     lavc_context->codec_tag = sh_audio->format; //FOURCC
     lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi