swresample/swresample: Fix for seg fault in swr_convert_internal() -> sum2_float...
authorHendrik Schreiber <hs@tagtraum.com>
Thu, 5 Apr 2018 11:58:37 +0000 (13:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit30c26bb78f6a7d347c05d0b175593e095ae312ea
treebf2dfb63b94875eb87a33eee2873662ace64587b
parentae2c159b87f2ee5c12c9403deadf3ccdeb2503c4
swresample/swresample: Fix for seg fault in swr_convert_internal() -> sum2_float during dithering.

Removed +len1 in call to s->mix_2_1_f() as I found no logical explanation for it. After removal, problem was gone.

Signed-off-by: Hendrik Schreiber <hs@tagtraum.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 647fd4b8292e3bfae30b1086aa842a5ee47ee868)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswresample/swresample.c