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>
Fri, 15 Jan 2016 11:30:41 +0000 (12:30 +0100)
commitcdac68fbab6923a71431709c2109bd60d0f90bbd
tree0ae16324bb097838c35dcb9979d66191401f03f7
parent1fd955606216e0b05bdf2f345d9e5c9b5455118c
swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() calls

This avoids running various table inits unnecessarily

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit cc538e9dbd14b61d1ac8c9fa687d83289673fe90)

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