summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-09 01:40:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-09 01:44:15 +0200
commitae199ab4ae357b8d9ac264f265ca41f59cf6bbba (patch)
treebeab7229e9c7c646c3fde6c16bc0c6b6802d7575
parentf6580b50edd1f1e0eb92309a16fe90cc911ccf5e (diff)
downloadffmpeg-ae199ab4ae357b8d9ac264f265ca41f59cf6bbba.tar.gz
integer: fix typos in asserts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/integer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c
index 7e394b342e..38620b2f2d 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -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);