Mercurial > mplayer.hg
changeset 7275:fb25090e525d
1000l - planar YUV support fixed (indeo 3,4,5, i263 etc)
we shouldn't do planes[1]==NULL for formats like planar yuv
author | arpi |
---|---|
date | Wed, 04 Sep 2002 23:17:53 +0000 |
parents | 984bd81b79f1 |
children | c1a2c7bc9f15 |
files | libmpcodecs/vd_vfw.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_vfw.c Wed Sep 04 22:37:15 2002 +0000 +++ b/libmpcodecs/vd_vfw.c Wed Sep 04 23:17:53 2002 +0000 @@ -317,6 +317,7 @@ } // export palette: + if(mpi->imgfmt==IMGFMT_RGB8 || mpi->imgfmt==IMGFMT_BGR8){ if (priv->palette) { mpi->planes[1] = priv->palette; @@ -325,7 +326,8 @@ } else mpi->planes[1]=NULL; - + } + return mpi; } #endif