diff postproc/swscale.c @ 9987:988c2ffc5bc1

remove remaining cpudetect dependancy
author michael
date Fri, 25 Apr 2003 17:16:55 +0000
parents 3d8b145a5470
children 99aec27d3618
line wrap: on
line diff
--- a/postproc/swscale.c	Fri Apr 25 13:57:17 2003 +0000
+++ b/postproc/swscale.c	Fri Apr 25 17:16:55 2003 +0000
@@ -1712,6 +1712,7 @@
 #endif
 #endif
 	if(clip_table[512] != 255) globalInit();
+	if(rgb15to16 == NULL) sws_rgb2rgb_init(flags);
 
 	/* avoid dupplicate Formats, so we dont need to check to much */
 	srcFormat = remove_dup_fourcc(origSrcFormat);