2004-05-18 David Schleef <ds@schleef.org>
+ * gst/ffmpegcolorspace/imgconvert.c: (img_convert): Fixes for
+ warnings (bugs, actually) noticed by gcc but not forte.
+
+2004-05-18 David Schleef <ds@schleef.org>
+
* sys/sunaudio/Makefile.am:
* sys/sunaudio/gstsunaudio.c: New sunaudiosink
static int inited;
int i, ret, dst_width, dst_height, int_pix_fmt;
PixFmtInfo *src_pix, *dst_pix;
- ConvertEntry *ce;
+ convert_func convert;
AVPicture tmp1, *tmp = &tmp1;
if (src_pix_fmt < 0 || src_pix_fmt >= PIX_FMT_NB ||
return 0;
}
- ce = convert_table_lookup (src_pix_fmt, dst_pix_fmt);
- if (ce->convert) {
+ convert = convert_table_lookup (src_pix_fmt, dst_pix_fmt);
+ if (convert) {
/* specific convertion routine */
- ce->convert (dst, src, dst_width, dst_height);
+ convert (dst, src, dst_width, dst_height);
return 0;
}