From: Jonathan Rosser <[EMAIL PROTECTED]>

different encoder implementations may leave or prune excess bits at the
end of the arithmetic data.

Signed-off-by: David Flynn <[EMAIL PROTECTED]>
---
 schroedinger/schrodecoder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/schroedinger/schrodecoder.c b/schroedinger/schrodecoder.c
index a6b3252..d415f6e 100644
--- a/schroedinger/schrodecoder.c
+++ b/schroedinger/schrodecoder.c
@@ -2706,12 +2706,16 @@ schro_decoder_decode_subband (SchroPicture *picture,
     if (ctx->arith->offset < ctx->subband_length) {
       SCHRO_WARNING("arith decoding didn't consume buffer (%d < %d)",
           ctx->arith->offset, ctx->subband_length);
+#ifdef DONT_DO_THIS
       ctx->broken = TRUE;
+#endif
     }
     if (ctx->arith->offset > ctx->subband_length + 4) {
       SCHRO_WARNING("arith decoding overran buffer (%d > %d)",
           ctx->arith->offset, ctx->subband_length);
+#ifdef DONT_DO_THIS
       ctx->broken = TRUE;
+#endif
     }
     schro_arith_free (ctx->arith);
   } else {
-- 
1.5.5




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to