mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
last line messed up in Y800 bugfix
Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
a1ce46cf52
commit
f5b58629fe
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user