diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-05-02 23:11:19 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-05-02 23:11:19 +0200 |
commit | c71f8baf51d097c95626bc57d2ecb8f2f16aeb50 (patch) | |
tree | 6f7482440bebfb2bcdbf8f584db9cbca506af02f /src | |
parent | 49446990143e8d6729bb547d41e170c5d2461695 (diff) | |
download | xine-lib-c71f8baf51d097c95626bc57d2ecb8f2f16aeb50.tar.gz xine-lib-c71f8baf51d097c95626bc57d2ecb8f2f16aeb50.tar.bz2 |
Fix boundary of the for loop.
Diffstat (limited to 'src')
-rw-r--r-- | src/libxineadec/xine_dts_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libxineadec/xine_dts_decoder.c b/src/libxineadec/xine_dts_decoder.c index fdf14d58e..000adaa85 100644 --- a/src/libxineadec/xine_dts_decoder.c +++ b/src/libxineadec/xine_dts_decoder.c @@ -112,7 +112,7 @@ static inline void float_to_int (const float *const _f, int16_t *const s16, cons const int endidx = 256 * num_channels; int i, j; - for (i = 0, j = 0; i < endidx; i++, j += num_channels) { + for (i = 0, j = 0; j < endidx; i++, j += num_channels) { const float f = _f[i] * 32767; if (f > INT16_MAX) s16[j] = INT16_MAX; |