History

swscale/sws_getColorspaceDetails: dont fail for non yuv

Michael Niedermayer committed 13 years ago

Commit a7e45cf1 parent 6db57fa1 file · +1 −1Browse files

Unified · Split

libswscale/utils.c+1−1
@@ -1006,7 +1006,7 @@ int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, · 1005 unmodified lines
10061006 int *srcRange, int **table, int *dstRange,
10071007 int *brightness, int *contrast, int *saturation)
10081008 {
1009− if (!c || isYUV(c->dstFormat) || isGray(c->dstFormat))
1009+ if (!c )
10101010 return -1;
10111011
10121012 *inv_table = c->srcColorspaceTable;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t