projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881c429
)
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Sep 2008 23:52:37 +0000
(23:52 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Sep 2008 23:52:37 +0000
(23:52 +0000)
bitexactness to C.
Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
81cc945
..
6285f4f
100644
(file)
--- a/
libswscale/swscale.c
+++ b/
libswscale/swscale.c
@@
-2172,7
+2172,7
@@
SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
}
#endif
- if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P)
+ if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P
&& !(flags & SWS_BITEXACT)
)
{
c->swScale= yvu9toyv12Wrapper;
}