diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-22 10:47:58 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-22 10:47:58 +0000 |
commit | 00d05d6a2abbe97b611b1ea39a48801560d4c46f (patch) | |
tree | f2121e844c5ee24e968182a8a7626423da199a84 /libaf/af.c | |
parent | 3cee5fc6918b40309b514726f06f9d722bfad48e (diff) | |
download | mpv-00d05d6a2abbe97b611b1ea39a48801560d4c46f.tar.bz2 mpv-00d05d6a2abbe97b611b1ea39a48801560d4c46f.tar.xz |
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
Diffstat (limited to 'libaf/af.c')
-rw-r--r-- | libaf/af.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libaf/af.c b/libaf/af.c index fa5963144f..2b777f98e7 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -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); |