This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/ffwavesynth: Fix backward lcg_seek()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.2
Michael Niedermayer
6 years ago
parent
37708cbae8
commit
cf2bd3ce79
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/ffwavesynth.c
+ 1
- 1
libavcodec/ffwavesynth.c
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save