Skip to content
Snippets Groups Projects
Commit 046b5339 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

swr: disable 1 stage convert when dither is enabled.


This combination is not possible easily.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 30aa004f
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ av_assert0(s->out.ch_count);
s->in_buffer= s->in;
if(!s->resample && !s->rematrix && !s->channel_map){
if(!s->resample && !s->rematrix && !s->channel_map && !s->dither_method){
s->full_convert = swri_audio_convert_alloc(s->out_sample_fmt,
s-> in_sample_fmt, s-> in.ch_count, NULL, 0);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment