summaryrefslogtreecommitdiff
path: root/libavcodec/imgresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-05 08:48:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-05 08:48:34 +0000
commit6acce86bdd565b40c1b11f6f02c9b2774b7e31ea (patch)
tree43856989218c51af597bc08d4939bddee5b3c9bb /libavcodec/imgresample.c
parent64a7a8af14b4fce3c5352a3ed5e07838c5cf363e (diff)
fixing tests
Originally committed as revision 905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r--libavcodec/imgresample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index 4061bdc220..eaba60df05 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -539,7 +539,7 @@ static void dump_filter(INT16 *filter)
}
#ifdef HAVE_MMX
-extern int mm_flags;
+int mm_flags;
#endif
int main(int argc, char **argv)
@@ -598,7 +598,7 @@ int main(int argc, char **argv)
fact = factors[i];
xsize = (int)(XSIZE * fact);
ysize = (int)((YSIZE - 100) * fact);
- s = img_resample_full_init(xsize, ysize, XSIZE, YSIZE, 50 ,50);
+ s = img_resample_full_init(xsize, ysize, XSIZE, YSIZE, 50 ,50, 0, 0);
printf("Factor=%0.2f\n", fact);
dump_filter(&s->h_filters[0][0]);
component_resample(s, img1, xsize, xsize, ysize,