[FFmpeg-cvslog] r13930 - trunk/libavcodec/ra144.c
vitor
subversion
Mon Jun 23 22:42:36 CEST 2008
Author: vitor
Date: Mon Jun 23 22:42:36 2008
New Revision: 13930
Log:
It makes more sense to return 1 here in case of overflow.
Modified:
trunk/libavcodec/ra144.c
Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c (original)
+++ trunk/libavcodec/ra144.c Mon Jun 23 22:42:36 2008
@@ -272,7 +272,7 @@ static int eval_refl(const int16_t *coef
if (u + 0x1000 > 0x1fff) {
av_log(ractx, AV_LOG_ERROR, "Overflow. Broken sample?\n");
- return 0;
+ return 1;
}
for (c=8; c >= 0; c--) {
More information about the ffmpeg-cvslog
mailing list