History

integer: fix typos in asserts

Michael Niedermayer committed 14 years ago

Commit ae199ab1 parent f6580b51 file · +2 −2Browse files

Unified · Split

libavutil/integer.c+2−2
@@ -111,8 +111,8 @@ AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){ · 110 unmodified lines
111111 AVInteger quot_temp;
112112 if(!quot) quot = &quot_temp;
113113
114− av_assert2((int16_t)a[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b[AV_INTEGER_SIZE-1] >= 0);
115− av_assert2(av_log2(b)>=0);
114+ av_assert2((int16_t)a.v[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b.v[AV_INTEGER_SIZE-1] >= 0);
115+ av_assert2(av_log2_i(b)>=0);
116116
117117 if(i > 0)
118118 b= av_shr_i(b, -i);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t