Mercurial > hg > dmlib
comparison minijss/jssmod.c @ 1973:f60b4bacf6bf
Missed a line from previous commit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 30 Jun 2018 19:41:12 +0300 |
parents | cedb5ca1533b |
children | f9fd6b4d29f2 |
comparison
equal
deleted
inserted
replaced
1972:cedb5ca1533b | 1973:f60b4bacf6bf |
---|---|
36 */ | 36 */ |
37 int jssEncodeSample8(Uint8 * data, const size_t len, const int ops) | 37 int jssEncodeSample8(Uint8 * data, const size_t len, const int ops) |
38 { | 38 { |
39 Sint8 value = 0; | 39 Sint8 value = 0; |
40 | 40 |
41 while (count--) | |
42 for (size_t offs = 0; offs < len; offs++) | 41 for (size_t offs = 0; offs < len; offs++) |
43 { | 42 { |
44 Sint8 t = data[offs]; | 43 Sint8 t = data[offs]; |
45 | 44 |
46 if (ops & jsampFlipSign) | 45 if (ops & jsampFlipSign) |