Mercurial > libavformat.hg
diff png.c @ 115:af07cbf4f24a libavformat
replaced progressive by interleaved
author | bellard |
---|---|
date | Mon, 21 Apr 2003 21:18:15 +0000 |
parents | ff802c67fda9 |
children | da1d5db0ce5c |
line wrap: on
line diff
--- a/png.c Mon Apr 21 14:39:52 2003 +0000 +++ b/png.c Mon Apr 21 21:18:15 2003 +0000 @@ -519,7 +519,7 @@ /* init image info */ info->width = s->width; info->height = s->height; - info->progressive = (s->interlace_type != 0); + info->interleaved = (s->interlace_type != 0); s->channels = png_get_nb_channels(s->color_type); s->bits_per_pixel = s->bit_depth * s->channels; @@ -718,7 +718,7 @@ uint8_t *tmp_buf = NULL; s->f = f; - is_progressive = info->progressive; + is_progressive = info->interleaved; switch(info->pix_fmt) { case PIX_FMT_RGBA32: bit_depth = 8; @@ -882,6 +882,6 @@ (1 << PIX_FMT_RGBA32) | (1 << PIX_FMT_RGB24) | (1 << PIX_FMT_GRAY8) | (1 << PIX_FMT_MONOBLACK) | (1 << PIX_FMT_PAL8), png_write, - AVIMAGE_PROGRESSIVE, + AVIMAGE_INTERLEAVED, }; #endif