diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2009-09-23 12:32:54 +0200 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2009-09-23 12:34:47 +0200 |
commit | a17393fd3483b4b12e7a55c2558a568860b1b62b (patch) | |
tree | f79af0be961b924a60170130d6b818963bf2ab35 /gst/adpcmdec | |
parent | 9c155f10f30a7b8f8dd60a582b4ff7c6b8f6d1fe (diff) | |
download | gstreamer-plugins-bad-a17393fd3483b4b12e7a55c2558a568860b1b62b.tar.gz |
Fix warnings with gcc 4.0.1.
Diffstat (limited to 'gst/adpcmdec')
-rw-r--r-- | gst/adpcmdec/adpcmdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/adpcmdec/adpcmdec.c b/gst/adpcmdec/adpcmdec.c index c317bc0db..a5b6a3140 100644 --- a/gst/adpcmdec/adpcmdec.c +++ b/gst/adpcmdec/adpcmdec.c @@ -338,7 +338,7 @@ adpcmdec_decode_ima_block (ADPCMDec * dec, int n_samples, guint8 * data, for (channel = 0; channel < dec->channels; channel++) { samples[channel] = read_sample (data + channel * 4); - stepindex[channel] = CLAMP (data[channel * 4 + 2], 0, 88); + stepindex[channel] = MIN (data[channel * 4 + 2], 88); if (data[channel * 4 + 3] != 0) { GST_WARNING_OBJECT (dec, "Synchronisation error"); |