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>
Mon, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commitfe4e35e202d36e51e0a638827e810a2d5a9ec812
treec88b9f3915329a098aaa5836122430c44277ccb8
parentd3d5382dadcd1b6dbcdddd09da02d9958f027e38
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