Mercurial > mplayer.hg
comparison libmpcodecs/ad_faad.c @ 24120:dac788e0857d
Fix unused variable warning.
author | diego |
---|---|
date | Fri, 24 Aug 2007 11:18:07 +0000 |
parents | f29d31547c31 |
children | dfa8a510c81c |
comparison
equal
deleted
inserted
replaced
24119:b86a0396b828 | 24120:dac788e0857d |
---|---|
204 } | 204 } |
205 | 205 |
206 #define MAX_FAAD_ERRORS 10 | 206 #define MAX_FAAD_ERRORS 10 |
207 static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) | 207 static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) |
208 { | 208 { |
209 int j = 0, len = 0, last_dec_len = 1, errors = 0; | 209 int len = 0, last_dec_len = 1, errors = 0; |
210 // int j = 0; | |
210 void *faac_sample_buffer; | 211 void *faac_sample_buffer; |
211 | 212 |
212 while(len < minlen && last_dec_len > 0 && errors < MAX_FAAD_ERRORS) { | 213 while(len < minlen && last_dec_len > 0 && errors < MAX_FAAD_ERRORS) { |
213 | 214 |
214 /* update buffer for raw aac streams: */ | 215 /* update buffer for raw aac streams: */ |