Unified · Split
| @@ -1006,7 +1006,7 @@ int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, · 1005 unmodified lines | ||
| 1006 | 1006 | int *srcRange, int **table, int *dstRange, |
| 1007 | 1007 | int *brightness, int *contrast, int *saturation) |
| 1008 | 1008 | { |
| 1009 | − if (!c || isYUV(c->dstFormat) || isGray(c->dstFormat)) | |
| 1009 | + if (!c ) | |
| 1010 | 1010 | return -1; |
| 1011 | 1011 | |
| 1012 | 1012 | *inv_table = c->srcColorspaceTable; |