Make this file compile with gcc-4.0.0:

It's syntacticly incorrect to use the "&" operand to take the address of a
variable that is declared as "register" as a register has no address.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14570 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gpoirier 2005-01-22 10:47:58 +00:00
parent 3cee5fc691
commit 00d05d6a2a
1 changed files with 3 additions and 3 deletions

View File

@ -521,7 +521,7 @@ int af_outputlen(af_stream_t* s, int len)
{
int t = s->input.bps*s->input.nch;
af_instance_t* af=s->first;
register frac_t mul = {1,1};
frac_t mul = {1,1};
// Iterate through all filters
do{
af_frac_mul(&mul, &af->mul);
@ -538,7 +538,7 @@ int af_inputlen(af_stream_t* s, int len)
{
int t = s->input.bps*s->input.nch;
af_instance_t* af=s->first;
register frac_t mul = {1,1};
frac_t mul = {1,1};
// Iterate through all filters
do{
af_frac_mul(&mul, &af->mul);
@ -562,7 +562,7 @@ int af_calc_insize_constrained(af_stream_t* s, int len,
int in = 0;
int out = 0;
af_instance_t* af=s->first;
register frac_t mul = {1,1};
frac_t mul = {1,1};
// Iterate through all filters and calculate total multiplication factor
do{
af_frac_mul(&mul, &af->mul);