Commit ef651239 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry

Fix compiler warning.

codebook.c:87: warning: suggest parentheses around '-' inside '>>'

git-svn-id: 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 3b652007
......@@ -84,7 +84,7 @@ static_codebook *vorbis_staticbook_unpack(oggpack_buffer *opb){
long num=oggpack_read(opb,_ilog(s->entries-i));
if(num==-1)goto _eofout;
if(length>32 || num>s->entries-i ||
(num>0 && num-1>>(length>>1)>>((length+1)>>1))>0){
(num>0 && (num-1)>>(length>>1)>>((length+1)>>1))>0){
goto _errout;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment