diff options
author | Pedro Arthur <bygrandao@gmail.com> | 2015-08-18 11:47:55 -0300 |
---|---|---|
committer | Pedro Arthur <bygrandao@gmail.com> | 2015-08-19 10:43:52 -0300 |
commit | 62d176de1224f6b9921a53171e5daa7460d5a772 (patch) | |
tree | d5586b93eaf7f2071b0f4018eb06b64ec48c545c /libswscale/x86 | |
parent | fffae8e605c8a665eac0ae63c3c84f60efbec73e (diff) | |
download | ffmpeg-62d176de1224f6b9921a53171e5daa7460d5a772.tar.gz |
swscale: refactor vertical scaler
Diffstat (limited to 'libswscale/x86')
-rw-r--r-- | libswscale/x86/swscale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index df29e23d43..fe5690d4a3 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -86,9 +86,9 @@ void ff_updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrB const int dstH= c->dstH; const int flags= c->flags; #ifdef NEW_FILTER - SwsPlane *lumPlane = &c->slice[c->numSlice-1].plane[0]; - SwsPlane *chrUPlane = &c->slice[c->numSlice-1].plane[1]; - SwsPlane *alpPlane = &c->slice[c->numSlice-1].plane[3]; + SwsPlane *lumPlane = &c->slice[c->numSlice-2].plane[0]; + SwsPlane *chrUPlane = &c->slice[c->numSlice-2].plane[1]; + SwsPlane *alpPlane = &c->slice[c->numSlice-2].plane[3]; #else int16_t **lumPixBuf= c->lumPixBuf; int16_t **chrUPixBuf= c->chrUPixBuf; |