9 Aug 2012 01:55
integer: fix typos in asserts
Michael Niedermayer <git <at> videolan.org>
2012-08-08 23:55:04 GMT
2012-08-08 23:55:04 GMT
ffmpeg | branch: master | Michael Niedermayer <michaelni <at> gmx.at> | Thu Aug 9 01:40:31 2012 +0200| [ae199ab4ae357b8d9ac264f265ca41f59cf6bbba] | committer: Michael Niedermayer integer: fix typos in asserts Signed-off-by: Michael Niedermayer <michaelni <at> gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae199ab4ae357b8d9ac264f265ca41f59cf6bbba --- libavutil/integer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/integer.c b/libavutil/integer.c index 7e394b3..38620b2 100644 --- a/libavutil/integer.c +++ b/libavutil/integer.c <at> <at> -111,8 +111,8 <at> <at> AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){ AVInteger quot_temp; if(!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);
RSS Feed