diff options
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r-- | postproc/swscale.c | 1 |
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); |