[FFmpeg-cvslog] caca: fix 10l typo

Michael Niedermayer git at videolan.org
Fri Oct 12 19:12:16 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 12 19:03:49 2012 +0200| [6f557a2e125b1236a96d325d5eb96f8614c5858b] | committer: Michael Niedermayer

caca: fix 10l typo

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f557a2e125b1236a96d325d5eb96f8614c5858b
---

 libavdevice/caca.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index dd20ba3..0a74701 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);



More information about the ffmpeg-cvslog mailing list