This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Fix chroma shift when scaling from ARGB on LE and BGRA on BE
Originally committed as revision 29242 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.6
Cédric Schieli
16 years ago
parent
418f77ec6e
commit
f267119786
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libswscale/swscale_template.c
+ 1
- 1
libswscale/swscale_template.c
View File
@@ -2533,7 +2533,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || srcFormat==PIX_FMT_MONOWHITE)
return;
if (srcFormat==PIX_FMT_RGB32_1) {
if (srcFormat==PIX_FMT_RGB32_1
|| srcFormat==PIX_FMT_BGR32_1
) {
src1 += ALT32_CORR;
src2 += ALT32_CORR;
}
Write
Preview
Loading…
Cancel
Save