summaryrefslogtreecommitdiff
path: root/libavcodec/dpcm.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-12-18 06:00:12 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-12-18 06:00:12 +0000
commitefeb298ea0d3132ed62a15da89f76db7aabe4bfa (patch)
tree4477adeb3b90b71e9ca26bd43d5893aa5a261655 /libavcodec/dpcm.c
parent1eb960352b5b76021f204763a5a56a22619ea6ef (diff)
cosmetics: remove one unneeded space
Originally committed as revision 16211 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dpcm.c')
-rw-r--r--libavcodec/dpcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c
index ff684aeb43..74ca9ec8ec 100644
--- a/libavcodec/dpcm.c
+++ b/libavcodec/dpcm.c
@@ -268,7 +268,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx,
n1 = (buf[in] >> 4) & 0xF;
n2 = buf[in++] & 0xF;
s->sample[0] += s->sol_table[n1];
- if (s->sample[0] < 0) s->sample[0] = 0;
+ if (s->sample[0] < 0) s->sample[0] = 0;
if (s->sample[0] > 255) s->sample[0] = 255;
output_samples[out++] = (s->sample[0] - 128) << 8;
s->sample[s->channels - 1] += s->sol_table[n2];