Commit bee38afb authored by banan's avatar banan

Cosmetics, indentation.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10145 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ae5e8b16
...@@ -543,10 +543,10 @@ static int adpcm_encode_frame(AVCodecContext *avctx, ...@@ -543,10 +543,10 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
put_bits(&pb, 4, buf[1][i]); put_bits(&pb, 4, buf[1][i]);
} }
} else { } else {
for (i=1; i<avctx->frame_size; i++) { for (i=1; i<avctx->frame_size; i++) {
put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF); put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF);
if (avctx->channels == 2) if (avctx->channels == 2)
put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF); put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF);
} }
} }
flush_put_bits(&pb); flush_put_bits(&pb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment