summaryrefslogtreecommitdiff
path: root/postproc/swscale.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-25 17:16:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-25 17:16:55 +0000
commit700490a4d119aad0627821da025ac522a92cac5f (patch)
treead15e39643c55c7e68f3709b96e05ebd72f65dbc /postproc/swscale.c
parent93d45466335db2e4a69155b5871d6aa5d6215907 (diff)
remove remaining cpudetect dependancy
Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r--postproc/swscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index c5319f9bd1..4c787cc774 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -1712,6 +1712,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int
#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);