projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340e8e0
)
swscale: fix usePal()
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Aug 2012 11:37:03 +0000
(13:37 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Aug 2012 11:37:03 +0000
(13:37 +0200)
Fixes Ticket1702
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/swscale_internal.h
patch
|
blob
|
history
diff --git
a/libswscale/swscale_internal.h
b/libswscale/swscale_internal.h
index
7643179
..
21b37ce
100644
(file)
--- a/
libswscale/swscale_internal.h
+++ b/
libswscale/swscale_internal.h
@@
-691,8
+691,7
@@
const char *sws_format_name(enum PixelFormat format);
(PIX_FMT_PLANAR | PIX_FMT_RGB)) == (PIX_FMT_PLANAR | PIX_FMT_RGB))
#define usePal(x) ((av_pix_fmt_descriptors[x].flags & PIX_FMT_PAL) || \
- (av_pix_fmt_descriptors[x].flags & PIX_FMT_PSEUDOPAL) || \
- (x) == PIX_FMT_Y400A)
+ (av_pix_fmt_descriptors[x].flags & PIX_FMT_PSEUDOPAL))
extern const uint64_t ff_dither4[2];
extern const uint64_t ff_dither8[2];