[FFmpeg-cvslog] alsdec: cosmetics after previous commit
Paul B Mahol
git at videolan.org
Fri Dec 21 15:51:53 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Dec 21 14:14:57 2012 +0000| [fb3f28ee289b9ea5106d5a7fa00a1018eb379e65] | committer: Paul B Mahol
alsdec: cosmetics after previous commit
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb3f28ee289b9ea5106d5a7fa00a1018eb379e65
---
libavcodec/alsdec.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 7133bfd..5b13c41 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++) \
More information about the ffmpeg-cvslog
mailing list