Changeset 4c23c78cdd318473410fd798588f9b620401a280
- Timestamp:
- 06/08/06 15:11:04
(2 years ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1154869864 +0000
- git-parent:
[4376dfd2e9ddd6bae4f71ca57681a7a807c8138e]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1154869864 +0000
- Message:
Cleanup whitespace
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8e394d7 |
r4c23c78 |
|
| 82 | 82 | aout_filter_t * p_filter = (aout_filter_t *)p_this; |
|---|
| 83 | 83 | struct filter_sys_t * p_sys; |
|---|
| 84 | | |
|---|
| | 84 | |
|---|
| 85 | 85 | if ( p_filter->input.i_rate == p_filter->output.i_rate |
|---|
| 86 | 86 | || p_filter->input.i_format != p_filter->output.i_format |
|---|
| … | … | |
| 126 | 126 | aout_filter_t * p_filter = (aout_filter_t *)p_this; |
|---|
| 127 | 127 | filter_sys_t *p_sys = (filter_sys_t *)p_filter->p_sys; |
|---|
| 128 | | |
|---|
| | 128 | |
|---|
| 129 | 129 | free( p_sys->p_prev_sample ); |
|---|
| 130 | 130 | free( p_sys ); |
|---|
| … | … | |
| 269 | 269 | return VLC_EGENERIC; |
|---|
| 270 | 270 | } |
|---|
| 271 | | |
|---|
| | 271 | |
|---|
| 272 | 272 | /* Allocate the memory needed to store the module's structure */ |
|---|
| 273 | 273 | p_filter->p_sys = p_sys = malloc( sizeof(struct filter_sys_t) ); |
|---|
| … | … | |
| 329 | 329 | return NULL; |
|---|
| 330 | 330 | } |
|---|
| 331 | | |
|---|
| | 331 | |
|---|
| 332 | 332 | i_bytes_per_frame = p_filter->fmt_out.audio.i_channels * |
|---|
| 333 | 333 | p_filter->fmt_out.audio.i_bitspersample / 8; |
|---|
| 334 | | |
|---|
| | 334 | |
|---|
| 335 | 335 | i_out_size = i_bytes_per_frame * ( 1 + (p_block->i_samples * |
|---|
| 336 | 336 | p_filter->fmt_out.audio.i_rate / p_filter->fmt_in.audio.i_rate)); |
|---|
| … | … | |
| 364 | 364 | |
|---|
| 365 | 365 | p_block->pf_release( p_block ); |
|---|
| 366 | | |
|---|
| | 366 | |
|---|
| 367 | 367 | p_out->i_buffer = out_buf.i_nb_bytes; |
|---|
| 368 | 368 | p_out->i_samples = out_buf.i_nb_samples; |
|---|