summaryrefslogtreecommitdiff
path: root/libswresample/rematrix.c
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2011-10-10 09:56:03 +0200
committerClément Bœsch <ubitux@gmail.com>2011-10-10 09:57:41 +0200
commit9719f25e7b5a7222ca4a1e0966bb35f363752814 (patch)
treebeecdde479e7c0d4b788f90efe2ed3ac9796466d /libswresample/rematrix.c
parent0a23067ab41326dfa1da41d18923ea8547a51ff5 (diff)
swresample: fix broken indent.
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r--libswresample/rematrix.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 5c34e11c18..17d6232a44 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -215,20 +215,20 @@ int swr_rematrix_init(SwrContext *s){
s->matrix16[i][j]= lrintf(s->matrix[i][j] * 32768);
}
}
- for(i=0; i<av_get_channel_layout_nb_channels(s->out_ch_layout); i++){
- for(j=0; j<av_get_channel_layout_nb_channels(s->in_ch_layout); j++){
- av_log(NULL, AV_LOG_DEBUG, "%f ", s->matrix[i][j]);
- }
- av_log(NULL, AV_LOG_DEBUG, "\n");
+ for(i=0; i<av_get_channel_layout_nb_channels(s->out_ch_layout); i++){
+ for(j=0; j<av_get_channel_layout_nb_channels(s->in_ch_layout); j++){
+ av_log(NULL, AV_LOG_DEBUG, "%f ", s->matrix[i][j]);
}
+ av_log(NULL, AV_LOG_DEBUG, "\n");
+ }
return 0;
}
int swr_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy){
int out_i, in_i, i, j;
-av_assert0(out->ch_count == av_get_channel_layout_nb_channels(s->out_ch_layout));
-av_assert0(in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout));
+ av_assert0(out->ch_count == av_get_channel_layout_nb_channels(s->out_ch_layout));
+ av_assert0(in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout));
for(out_i=0; out_i<out->ch_count; out_i++){
switch(s->matrix_ch[out_i][0]){