ports/compat-32 (3.1): libvorbis-32: remove unused patch
commit fd812be86cfa20f0be4bdabb55a0b5a5160f8664 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Apr 4 21:12:29 2015 +1100 libvorbis-32: remove unused patch diff --git a/libvorbis-32/libvorbis.diff b/libvorbis-32/libvorbis.diff deleted file mode 100644 index 938a9ca..0000000 --- a/libvorbis-32/libvorbis.diff +++ /dev/null @@ -1,24 +0,0 @@ -# Stolen from Mozilla, with minor adjustments. -# Author: Timothy B. Terriberry <tterribe@vt.edu> - -diff --git a/media/libvorbis/lib/floor1.c b/media/libvorbis/lib/floor1.c ---- a/media/libvorbis/lib/floor1.c -+++ b/media/libvorbis/lib/floor1.c -@@ -162,16 +162,17 @@ static vorbis_info_floor *floor1_unpack - - /* read the post list */ - info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */ - rangebits=oggpack_read(opb,4); - if(rangebits<0)goto err_out; - - for(j=0,k=0;j<info->partitions;j++){ - count+=info->class_dim[info->partitionclass[j]]; -+ if(count>VIF_POSIT) goto err_out; - for(;k<count;k++){ - int t=info->postlist[k+2]=oggpack_read(opb,rangebits); - if(t<0 || t>=(1<<rangebits)) - goto err_out; - } - } - info->postlist[0]=0; - info->postlist[1]=1<<rangebits;
participants (1)
-
crux@crux.nu