mirror of
https://github.com/mpv-player/mpv
synced 2025-03-06 06:08:23 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10164 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
185d3a9e26
commit
b560fb2caf
@ -271,8 +271,8 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype,
|
||||
{
|
||||
mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8+
|
||||
mpi->chroma_width*mpi->chroma_height);
|
||||
/* delta table, just for fun ;) */
|
||||
mpi->planes[3]=mpi->planes[0]+2*(mpi->chroma_width*mpi->chroma_height);
|
||||
/* export delta table */
|
||||
mpi->planes[3]=mpi->planes[0]+(mpi->width*mpi->height)+(mpi->chroma_width*mpi->chroma_height);
|
||||
}
|
||||
else
|
||||
mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8);
|
||||
|
Loading…
Reference in New Issue
Block a user