Mercurial > mplayer.hg
comparison libfaad2/output.c @ 32259:3a4e51bbca62
Mark output_to_PCM_sux as static, it is not used outside of the file; fixes:
libfaad2/output.c:465: warning: no previous prototype for 'output_to_PCM_sux'
author | diego |
---|---|
date | Wed, 22 Sep 2010 21:08:59 +0000 |
parents | 0783dd397f74 |
children |
comparison
equal
deleted
inserted
replaced
32258:b0ca20e4b5cd | 32259:3a4e51bbca62 |
---|---|
460 real_t cum = input[internal_channel[2]][sample] + C + R_S; | 460 real_t cum = input[internal_channel[2]][sample] + C + R_S; |
461 return MUL_F(cum, DM_MUL); | 461 return MUL_F(cum, DM_MUL); |
462 } | 462 } |
463 } | 463 } |
464 | 464 |
465 void* output_to_PCM_sux(NeAACDecHandle hDecoder, | 465 static void* output_to_PCM_sux(NeAACDecHandle hDecoder, |
466 real_t **input, void *sample_buffer, uint8_t channels, | 466 real_t **input, void *sample_buffer, uint8_t channels, |
467 uint16_t frame_len, uint8_t format) | 467 uint16_t frame_len, uint8_t format) |
468 { | 468 { |
469 uint8_t ch; | 469 uint8_t ch; |
470 uint16_t i; | 470 uint16_t i; |
471 int16_t *short_sample_buffer = (int16_t*)sample_buffer; | 471 int16_t *short_sample_buffer = (int16_t*)sample_buffer; |
472 int32_t *int_sample_buffer = (int32_t*)sample_buffer; | 472 int32_t *int_sample_buffer = (int32_t*)sample_buffer; |