Commit 9d3e0fb5 authored by Sam Hocevar's avatar Sam Hocevar

* modules/video_output/caca.c: Oops, compilation fix (thanks zorglub).

parent 3aa3ecc1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* caca.c: Color ASCII Art video output plugin using libcaca * caca.c: Color ASCII Art video output plugin using libcaca
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: caca.c,v 1.2 2003/11/22 15:53:18 sam Exp $ * $Id: caca.c,v 1.3 2003/11/22 16:18:05 sam Exp $
* *
* Authors: Sam Hocevar <sam@zoy.org> * Authors: Sam Hocevar <sam@zoy.org>
* *
...@@ -256,7 +256,7 @@ static int Manage( vout_thread_t *p_vout ) ...@@ -256,7 +256,7 @@ static int Manage( vout_thread_t *p_vout )
static void Render( vout_thread_t *p_vout, picture_t *p_pic ) static void Render( vout_thread_t *p_vout, picture_t *p_pic )
{ {
caca_clear(); caca_clear();
caca_blit( 0, 0, caca_get_width() - 1, caca_get_height() - 1, caca_draw_bitmap( 0, 0, caca_get_width() - 1, caca_get_height() - 1,
p_vout->p_sys->p_bitmap, p_pic->p->p_pixels ); p_vout->p_sys->p_bitmap, p_pic->p->p_pixels );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment