opus_demo now returns 1 on mismatch
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 28 Oct 2011 15:02:40 +0000 (11:02 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 28 Oct 2011 15:02:40 +0000 (11:02 -0400)
src/opus_demo.c

index 414ce22..204d325 100644 (file)
@@ -457,7 +457,7 @@ int main(int argc, char *argv[])
                          (long)count,
                          (unsigned long)enc_final_range[toggle^use_inbandfec],
                          (unsigned long)dec_final_range);
-            return 0;
+            return 1;
         }
 
         lost_prev = lost;