Commit f5b58629 authored by Michael Niedermayer's avatar Michael Niedermayer

last line messed up in Y800 bugfix

Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent a1ce46cf
...@@ -2557,9 +2557,9 @@ i--; ...@@ -2557,9 +2557,9 @@ i--;
{ {
int16_t **lumSrcPtr= lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; int16_t **lumSrcPtr= lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize;
int16_t **chrSrcPtr= chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; 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( yuv2yuvXinC(
vLumFilter+dstY*vLumFilterSize , lumSrcPtr, vLumFilterSize, vLumFilter+dstY*vLumFilterSize , lumSrcPtr, vLumFilterSize,
vChrFilter+chrDstY*vChrFilterSize, chrSrcPtr, vChrFilterSize, vChrFilter+chrDstY*vChrFilterSize, chrSrcPtr, vChrFilterSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment