segfault fixed - maybe

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@717 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-05-07 01:59:58 +00:00
parent 02618aab52
commit 8ddcc671cf
1 changed files with 4 additions and 4 deletions

View File

@ -663,7 +663,7 @@ static int III_dequantize_sample(real xr[SBLIMIT][SSLIMIT],int *scf,
{ register short *val = h->table;
while((y=*val++)<0) {
part2remain--;
if(part2remain < 0) return 0;
if(part2remain < 0) return 1;
if (get1bit()) val-=y;
}
x = y >> 4;
@ -818,7 +818,7 @@ static int III_dequantize_sample(real xr[SBLIMIT][SSLIMIT],int *scf,
{ register short *val = h->table;
while((y=*val++)<0) {
part2remain--;
if(part2remain < 0) return 0;
if(part2remain < 0) return 1;
if (get1bit()) val -= y;
// if(part2remain<=0) return 0; // Arpi
}
@ -1008,7 +1008,7 @@ static int III_dequantize_sample_ms(real xr[2][SBLIMIT][SSLIMIT],int *scf,
register short *val = h->table;
while((y=*val++)<0) {
part2remain--;
if(part2remain < 0) return 0;
if(part2remain < 0) return 1;
if (get1bit()) val -= y;
// if(part2remain<=0) return 0; // Arpi
}
@ -1203,7 +1203,7 @@ static int III_dequantize_sample_ms(real xr[2][SBLIMIT][SSLIMIT],int *scf,
register short *val = h->table;
while((y=*val++)<0) {
part2remain--;
if(part2remain < 0) return 0;
if(part2remain < 0) return 1;
if (get1bit()) val -= y;
}
x = y >> 4;