aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/caca.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-12 19:03:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-12 19:05:58 +0200
commit6f557a2e125b1236a96d325d5eb96f8614c5858b (patch)
treec5faeb302131ef5ea4838456698a9f515751e410 /libavdevice/caca.c
parenta291345b1e82e3c0b108c5b4041f668b223b58a5 (diff)
downloadffmpeg-6f557a2e125b1236a96d325d5eb96f8614c5858b.tar.gz
caca: fix 10l typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/caca.c')
-rw-r--r--libavdevice/caca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index dd20ba3636..0a7470120f 100644
--- a/libavdevice/caca.c
+++ b/libavdevice/caca.c
@@ -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);