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:
84c1253
)
Ensure that additional filter coeffs that exist due to alignment
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 13 Sep 2008 02:04:10 +0000
(
02:04
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 13 Sep 2008 02:04:10 +0000
(
02:04
+0000)
are 0 if bitexact mode is requested.
Originally committed as revision 27595 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
6285f4f
..
d9eadfe
100644
(file)
--- a/
libswscale/swscale.c
+++ b/
libswscale/swscale.c
@@
-1244,6
+1244,8
@@
static inline int initFilter(int16_t **outFilter, int16_t **filterPos, int *outF
{
if (j>=filter2Size) filter[i*filterSize + j]= 0.0;
else filter[i*filterSize + j]= filter2[i*filter2Size + j];
+ if((flags & SWS_BITEXACT) && j>=minFilterSize)
+ filter[i*filterSize + j]= 0.0;
}
}