OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db57fa
)
swscale/sws_getColorspaceDetails: dont fail for non yuv
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 25 Jul 2013 00:42:09 +0000
(
02:42
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 25 Jul 2013 00:50:46 +0000
(
02:50
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/utils.c
patch
|
blob
|
history
diff --git
a/libswscale/utils.c
b/libswscale/utils.c
index
c8b53c7
..
cff0ad8
100644
(file)
--- a/
libswscale/utils.c
+++ b/
libswscale/utils.c
@@
-1006,7
+1006,7
@@
int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table,
int *srcRange, int **table, int *dstRange,
int *brightness, int *contrast, int *saturation)
{
- if (!c
|| isYUV(c->dstFormat) || isGray(c->dstFormat)
)
+ if (!c )
return -1;
*inv_table = c->srcColorspaceTable;