[FFmpeg-soc] [soc]: r3927 - dirac/libavcodec/dirac_arith.c

conrad subversion at mplayerhq.hu
Thu Jan 1 21:32:08 CET 2009


Author: conrad
Date: Thu Jan  1 21:32:08 2009
New Revision: 3927

Log:
Remove shifting default of 1 in case of overflow; shouldn't matter

Modified:
   dirac/libavcodec/dirac_arith.c

Modified: dirac/libavcodec/dirac_arith.c
==============================================================================
--- dirac/libavcodec/dirac_arith.c	Thu Jan  1 21:32:06 2009	(r3926)
+++ dirac/libavcodec/dirac_arith.c	Thu Jan  1 21:32:08 2009	(r3927)
@@ -162,8 +162,6 @@ static inline void renorm_arith_decoder(
             arith->low |= (arith->bytestream[0]<<8) + arith->bytestream[1];
             arith->bytestream += 2;
             arith->counter = 16;
-        } else if (arith->bytestream >= arith->bytestream_end) {
-            arith->low |= 1;
         }
     }
 }



More information about the FFmpeg-soc mailing list