caca: fix 10l typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-12 19:03:49 +02:00
parent a291345b1e
commit 6f557a2e12
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ static int caca_write_header(AVFormatContext *s)
goto fail;
}
bpp = av_get_bits_per_pixel(av_pix_fmt_desc_get(avctx->pix_fmt));
bpp = av_get_bits_per_pixel(av_pix_fmt_desc_get(encctx->pix_fmt));
c->dither = caca_create_dither(bpp, encctx->width, encctx->height,
bpp / 8 * encctx->width,
0x0000ff, 0x00ff00, 0xff0000, 0);