diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-02-23 21:11:09 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-24 05:49:59 +0300 |
commit | ba9516cca845f8d3fb7ac08ef53a996c3ee0dbf5 (patch) | |
tree | 81b8a5d91688077ac887301724c3c0845598bf49 /libavcodec/vmdav.c | |
parent | 762b386e4aafc7bbdbec367bc652cf1199e81f51 (diff) |
cosmetics: reindent after previous commit
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r-- | libavcodec/vmdav.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index b3103ec220..d0ffa39f78 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -486,15 +486,15 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data, memset(data, 0, silent_size); data += silent_size; } - if (s->bits == 16) - vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2); - else { - /* copy the data but convert it to signed */ - for (i = 0; i < data_size; i++){ - *data++ = buf[i] + 0x80; - *data++ = buf[i] + 0x80; - } + if (s->bits == 16) + vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2); + else { + /* copy the data but convert it to signed */ + for (i = 0; i < data_size; i++){ + *data++ = buf[i] + 0x80; + *data++ = buf[i] + 0x80; } + } return silent_size + data_size * 2; } |