mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Fix typo
This commit is contained in:
parent
72cb77f771
commit
e14ea73a00
2
codec.c
2
codec.c
@ -1160,7 +1160,7 @@ static void CodecAudioUpdateFormat(AudioDecoder *audio_decoder) {
|
|||||||
|
|
||||||
#if LIBSWRESAMPLE_VERSION_INT < AV_VERSION_INT(4,5,100)
|
#if LIBSWRESAMPLE_VERSION_INT < AV_VERSION_INT(4,5,100)
|
||||||
audio_decoder->Resample = swr_alloc_set_opts(audio_decoder->Resample,
|
audio_decoder->Resample = swr_alloc_set_opts(audio_decoder->Resample,
|
||||||
CodecDownMix ? AV_CH_LAYOUT_STEREO : audio_ctx->channel_layout,
|
CodecDownmix ? AV_CH_LAYOUT_STEREO : audio_ctx->channel_layout,
|
||||||
AV_SAMPLE_FMT_S16, audio_decoder->HwSampleRate,
|
AV_SAMPLE_FMT_S16, audio_decoder->HwSampleRate,
|
||||||
audio_ctx->channel_layout, audio_ctx->sample_fmt,audio_ctx->sample_rate,
|
audio_ctx->channel_layout, audio_ctx->sample_fmt,audio_ctx->sample_rate,
|
||||||
0, NULL);
|
0, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user