swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() calls
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 14:11:48 +0000 (15:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 14:46:55 +0000 (15:46 +0100)
commitcc538e9dbd14b61d1ac8c9fa687d83289673fe90
treeff846770cbefb3ba81d43aeb559e4d12e8eff98b
parent8f3a9a8c278acf886f70a1d743bc07b6f9c7b51a
swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() calls

This avoids running various table inits unnecessarily

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/utils.c