[FFmpeg-soc] [soc]: r2820 - mxf/mxfenc.c

spyfeng subversion at mplayerhq.hu
Sat Jul 19 04:14:49 CEST 2008


Author: spyfeng
Date: Sat Jul 19 04:14:48 2008
New Revision: 2820

Log:
use >>= instead of /=


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Sat Jul 19 04:14:48 2008
@@ -227,7 +227,7 @@ static int klv_encode_ber_length(ByteIOC
         return size;
     }
 
-    while (len /= 256)
+    while (len >>= 8)
         size ++;
 
     //long form



More information about the FFmpeg-soc mailing list