diff options
author | Johns <johns98@gmx.net> | 2013-01-26 00:18:59 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-26 00:18:59 +0100 |
commit | 8b225857487580622d337cd2e385c919bdc3269e (patch) | |
tree | 3f70c8a9a68e0a3be992666bd2ad568dd9e9ccf9 /codec.c | |
parent | 7ed6975330328e62a0fccdc842c17cbc80b73c09 (diff) | |
download | vdr-plugin-softhddevice-8b225857487580622d337cd2e385c919bdc3269e.tar.gz vdr-plugin-softhddevice-8b225857487580622d337cd2e385c919bdc3269e.tar.bz2 |
Never trust the docs: fix ffmpeg downsample.
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,7 +736,7 @@ void CodecAudioOpen(AudioDecoder * audio_decoder, const char *name, } if (CodecDownmix) { -#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53,61,100) +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53,61,100) || FF_API_REQUEST_CHANNELS audio_decoder->AudioCtx->request_channels = 2; #endif audio_decoder->AudioCtx->request_channel_layout = |