You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
K&R coding style whitespace cosmetics
Originally committed as revision 19929 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -111,7 +111,7 @@ static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits,
|
||||
static int at1_imdct_block(AT1SUCtx* su, AT1Ctx *q)
|
||||
{
|
||||
int band_num, band_samples, log2_block_count, nbits, num_blocks, block_size;
|
||||
unsigned int start_pos, ref_pos=0, pos = 0;
|
||||
unsigned int start_pos, ref_pos = 0 pos = 0;
|
||||
|
||||
for (band_num = 0; band_num < AT1_QMF_BANDS; band_num++) {
|
||||
band_samples = samples_per_band[band_num];
|
||||
@ -140,7 +140,6 @@ static int at1_imdct_block(AT1SUCtx* su, AT1Ctx *q)
|
||||
q->dsp.vector_fmul_window(q->bands[band_num], &su->spectrum[1][ref_pos + band_samples - 16],
|
||||
&su->spectrum[0][ref_pos], short_window, 0, 16);
|
||||
memcpy(q->bands[band_num] + 32, &su->spectrum[0][ref_pos + 16], 240 * sizeof(float));
|
||||
|
||||
} else {
|
||||
/* short blocks */
|
||||
float *prev_buf;
|
||||
@ -318,9 +317,11 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data,
|
||||
} else {
|
||||
/* stereo */
|
||||
for (i = 0; i < AT1_SU_SAMPLES; i++) {
|
||||
samples[i*2] = av_clipf(q->out_samples[0][i], -32700.0 / (1<<15),
|
||||
samples[i * 2] = av_clipf(q->out_samples[0][i],
|
||||
-32700.0 / (1 << 15),
|
||||
32700.0 / (1 << 15));
|
||||
samples[i*2+1] = av_clipf(q->out_samples[1][i], -32700.0 / (1<<15),
|
||||
samples[i * 2 + 1] = av_clipf(q->out_samples[1][i],
|
||||
-32700.0 / (1 << 15),
|
||||
32700.0 / (1 << 15));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user