Message ID | 20190621232936.11052-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | cf2bd3ce79b12256d7d129b2ada5ee649b9a27eb |
Headers | show |
On Sat, Jun 22, 2019 at 01:29:31AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/ffwavesynth.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...]
diff --git a/libavcodec/ffwavesynth.c b/libavcodec/ffwavesynth.c index a66113972b..cf8c780f3e 100644 --- a/libavcodec/ffwavesynth.c +++ b/libavcodec/ffwavesynth.c @@ -122,7 +122,7 @@ static void lcg_seek(uint32_t *s, int64_t dt) c = LCG_C; } else { /* coefficients for a step backward */ a = LCG_AI; - c = (uint32_t)(LCG_AI * LCG_C); + c = (uint32_t)(-LCG_AI * LCG_C); dt = -dt; } while (dt) {
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/ffwavesynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)