diff options
author | Michael Niedermayer | 2002-06-30 20:32:42 +0000 |
---|---|---|
committer | Michael Niedermayer | 2002-06-30 20:32:42 +0000 |
commit | f5b58629fe4fe5350f8c103ea4b1046c333eae25 (patch) | |
tree | 33a31f738ec65fae8d9a6bfa140b65c3d36810ce /postproc/swscale_template.c | |
parent | a1ce46cf529e0acd380a67661d6bc97a06e5809f (diff) |
last line messed up in Y800 bugfix
Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale_template.c')
-rw-r--r-- | postproc/swscale_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index 7095824466..accbc9710e 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -2557,9 +2557,9 @@ i--; { int16_t **lumSrcPtr= lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; int16_t **chrSrcPtr= chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; - if(isPlanarYUV(dstFormat)) //YV12 + if(isPlanarYUV(dstFormat) || isGray(dstFormat)) //YV12 { - if(dstY&1) uDest=vDest= NULL; + if((dstY&1) || isGray(dstFormat)) uDest=vDest= NULL; yuv2yuvXinC( vLumFilter+dstY*vLumFilterSize , lumSrcPtr, vLumFilterSize, vChrFilter+chrDstY*vChrFilterSize, chrSrcPtr, vChrFilterSize, |