mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
It makes more sense to return 1 here in case of overflow.
Originally committed as revision 13930 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
37a4b3bb02
commit
b45411e24a
@ -272,7 +272,7 @@ static int eval_refl(const int16_t *coefs, int *refl, RA144Context *ractx)
|
||||
|
||||
if (u + 0x1000 > 0x1fff) {
|
||||
av_log(ractx, AV_LOG_ERROR, "Overflow. Broken sample?\n");
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
for (c=8; c >= 0; c--) {
|
||||
|
Loading…
Reference in New Issue
Block a user