Commit 5cef4af8 authored by vitor's avatar vitor

It makes more sense to return 1 here in case of overflow.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13930 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 57fc2c66
......@@ -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--) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment