summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavutil/integer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavutil/integer.c')
-rw-r--r--src/libffmpeg/libavutil/integer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/libavutil/integer.c b/src/libffmpeg/libavutil/integer.c
index 98c3df35d..1820dbf59 100644
--- a/src/libffmpeg/libavutil/integer.c
+++ b/src/libffmpeg/libavutil/integer.c
@@ -124,8 +124,8 @@ AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){
AVInteger quot_temp;
if(!quot) quot = &quot_temp;
- assert((int16_t)a[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b[AV_INTEGER_SIZE-1] >= 0);
- assert(av_log2(b)>=0);
+ assert((int16_t)a.v[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b.v[AV_INTEGER_SIZE-1] >= 0);
+ assert(av_log2_i(b)>=0);
if(i > 0)
b= av_shr_i(b, -i);