Michael Niedermayer <michaelni <at> gmx.at> writes: > > +++ libavutil/mathematics.c (working copy) > > @@ -78,7 +78,7 @@ > > int64_t r=0; > > assert(c > 0); > > assert(b >=0); > > - assert(rnd >=0 && rnd<=5 && rnd!=4); > > + assert((unsigned)rnd<=5 && rnd!=4); > > ok Patch applied. Carl Eugen