diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-12-17 18:14:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-12-17 18:14:38 +0000 |
commit | 115329f16062074e11ccf3b89ead6176606c9696 (patch) | |
tree | e98aa993905a702688bf821737ab9a443969fc28 /libavcodec/ws-snd1.c | |
parent | d76319b1ab716320f6e6a4d690b85fe4504ebd5b (diff) | |
download | ffmpeg-115329f16062074e11ccf3b89ead6176606c9696.tar.gz |
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ws-snd1.c')
-rw-r--r-- | libavcodec/ws-snd1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index 5ac4c61bdc..a41635d97f 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.c @@ -40,7 +40,7 @@ static const char ws_adpcm_4bit[] = { static int ws_snd_decode_init(AVCodecContext * avctx) { // WSSNDContext *c = avctx->priv_data; - + return 0; } @@ -49,12 +49,12 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size) { // WSSNDContext *c = avctx->priv_data; - + int in_size, out_size; int sample = 0; int i; short *samples = data; - + if (!buf_size) return 0; @@ -62,13 +62,13 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, *data_size = out_size * 2; in_size = LE_16(&buf[2]); buf += 4; - + if (in_size == out_size) { for (i = 0; i < out_size; i++) *samples++ = (*buf++ - 0x80) << 8; return buf_size; } - + while (out_size > 0) { int code; uint8_t count; @@ -129,7 +129,7 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, } } } - + return buf_size; } |