integer: fix typos in asserts
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Aug 2012 23:40:31 +0000 (01:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Aug 2012 23:44:15 +0000 (01:44 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/integer.c

index 7e394b3..38620b2 100644 (file)
@@ -111,8 +111,8 @@ AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){
     AVInteger quot_temp;
     if(!quot) quot = &quot_temp;
 
-    av_assert2((int16_t)a[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b[AV_INTEGER_SIZE-1] >= 0);
-    av_assert2(av_log2(b)>=0);
+    av_assert2((int16_t)a.v[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b.v[AV_INTEGER_SIZE-1] >= 0);
+    av_assert2(av_log2_i(b)>=0);
 
     if(i > 0)
         b= av_shr_i(b, -i);