It is currently probably not possible for it to be negative as
the needed 2Mb input buf size is not achievable. But it is more
robust to check for it too.
If it would become negative than code like
s->samples[0][n] = s->samples[0][s->nb_samples + n];
would crash
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5f5a1ccd04
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.0
parent
d57b29ff2b
commit
60e46128f7
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue