Mercurial > mplayer.hg
changeset 6615:ab152b72e359
last line messed up in Y800 bugfix
author | michael |
---|---|
date | Sun, 30 Jun 2002 20:32:42 +0000 |
parents | 49eac73d0e07 |
children | 0b5a789d7fab |
files | postproc/swscale_template.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/postproc/swscale_template.c Sun Jun 30 19:04:02 2002 +0000 +++ b/postproc/swscale_template.c Sun Jun 30 20:32:42 2002 +0000 @@ -2557,9 +2557,9 @@ { 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,