comparison libmpcodecs/vf_divtc.c @ 24360:ba7da0656d80

warning fix: libmpcodecs/vf_divtc.c:206: warning: 'cmp' defined but not used
author diego
date Sun, 09 Sep 2007 09:59:50 +0000
parents 5c3c7efd9b75
children 00fff9a3b735
comparison
equal deleted inserted replaced
24359:30b770392f2c 24360:ba7da0656d80
200 * given 5 frame slice of frame difference measurements. 200 * given 5 frame slice of frame difference measurements.
201 * 201 *
202 * If phase1 and phase2 are not negative, only the two specified 202 * If phase1 and phase2 are not negative, only the two specified
203 * phases are tested. 203 * phases are tested.
204 */ 204 */
205
206 static int cmp(int *a, int *b) { return *b-*a; }
207 205
208 static int match(struct vf_priv_s *p, int *diffs, 206 static int match(struct vf_priv_s *p, int *diffs,
209 int phase1, int phase2, double *strength) 207 int phase1, int phase2, double *strength)
210 { 208 {
211 static const int pattern1[]={ -4, 1, 1, 1, 1 }, 209 static const int pattern1[]={ -4, 1, 1, 1, 1 },