changeset 7116:e51975f18cb6 libavcodec

It makes more sense to return 1 here in case of overflow.
author vitor
date Mon, 23 Jun 2008 20:42:36 +0000
parents 5eae3911068d
children f5ca0e18d5de
files ra144.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Mon Jun 23 20:39:28 2008 +0000
+++ b/ra144.c	Mon Jun 23 20:42:36 2008 +0000
@@ -272,7 +272,7 @@
 
     if (u + 0x1000 > 0x1fff) {
         av_log(ractx, AV_LOG_ERROR, "Overflow. Broken sample?\n");
-        return 0;
+        return 1;
     }
 
     for (c=8; c >= 0; c--) {