aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alsdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-21 14:14:57 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-21 14:14:57 +0000
commitfb3f28ee289b9ea5106d5a7fa00a1018eb379e65 (patch)
tree22dcacecb9efb3d7f1e482d59d2dc0d093a13ba9 /libavcodec/alsdec.c
parentae27b70b9d9dfb0c1e09b6dfcd2fd74fffc5bbac (diff)
downloadffmpeg-fb3f28ee289b9ea5106d5a7fa00a1018eb379e65.tar.gz
alsdec: cosmetics after previous commit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r--libavcodec/alsdec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 7133bfd9af..5b13c4146d 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1480,14 +1480,14 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
}
// transform decoded frame into output format
- #define INTERLEAVE_OUTPUT(bps) \
- { \
- int##bps##_t *dest = (int##bps##_t*)ctx->frame.data[0]; \
- shift = bps - ctx->avctx->bits_per_raw_sample; \
- if (!sconf->chan_sort) { \
- for (sample = 0; sample < ctx->cur_frame_length; sample++) \
- for (c = 0; c < avctx->channels; c++) \
- *dest++ = ctx->raw_samples[c][sample] << shift; \
+ #define INTERLEAVE_OUTPUT(bps) \
+ { \
+ int##bps##_t *dest = (int##bps##_t*)ctx->frame.data[0]; \
+ shift = bps - ctx->avctx->bits_per_raw_sample; \
+ if (!sconf->chan_sort) { \
+ for (sample = 0; sample < ctx->cur_frame_length; sample++) \
+ for (c = 0; c < avctx->channels; c++) \
+ *dest++ = ctx->raw_samples[c][sample] << shift; \
} else { \
for (sample = 0; sample < ctx->cur_frame_length; sample++) \
for (c = 0; c < avctx->channels; c++) \