Mercurial > mplayer.hg
changeset 35268:f16646c59e33
Avoid unused variable warnings.
author | reimar |
---|---|
date | Tue, 06 Nov 2012 20:00:44 +0000 |
parents | e057379d9360 |
children | 7b3252fa7761 |
files | libmpcodecs/vf_ass.c |
diffstat | 1 files changed, 7 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_ass.c Tue Nov 06 18:17:04 2012 +0000 +++ b/libmpcodecs/vf_ass.c Tue Nov 06 20:00:44 2012 +0000 @@ -91,8 +91,7 @@ uint8_t y = rgba2y(color), u = rgba2u(color), v = rgba2v(color); - int outw = vf->priv->outw, - outh = vf->priv->outh; + int outw = vf->priv->outw; uint8_t *alpha = vf->priv->alphas[0], *dst_y = vf->priv->planes[0], *dst_u = vf->priv->planes[1], @@ -227,12 +226,12 @@ uint8_t **dest = vf->dmpi->planes; struct dirty_rows_extent *dirty_rows = vf->priv->dirty_rows; uint8_t *alpha; - uint8_t *src_y = vf->priv->planes[0], - *src_u = vf->priv->planes[1], - *src_v = vf->priv->planes[2]; - uint8_t *dst_y = vf->dmpi->planes[0], - *dst_u = vf->dmpi->planes[1], - *dst_v = vf->dmpi->planes[2]; + uint8_t *src_y = planes[0], + *src_u = planes[1], + *src_v = planes[2]; + uint8_t *dst_y = dest[0], + *dst_u = dest[1], + *dst_v = dest[2]; int stride; int outw = vf->priv->outw, outh = vf->priv->outh;