Commit c1458b72 authored by Christophe Massiot's avatar Christophe Massiot

* Removed my optimization attempt.

parent 6783b216
......@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: video_output.c,v 1.119 2001/04/25 10:22:33 massiot Exp $
* $Id: video_output.c,v 1.120 2001/04/25 20:54:07 massiot Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
......@@ -1617,8 +1617,6 @@ static void SetBufferPicture( vout_thread_t *p_vout, picture_t *p_pic )
i_data_size = (p_buffer->pi_area_end[i_area] - p_buffer->pi_area_begin[i_area] + 1) * p_vout->i_bytes_per_line;
p_data = (u64*) (p_buffer->p_data + p_vout->i_bytes_per_line * p_buffer->pi_area_begin[i_area]);
#if 0
/* Removed for performance --Meuuh */
for( i_data_index = i_data_size / 256; i_data_index-- ; )
{
/* Clear 256 bytes block */
......@@ -1642,7 +1640,6 @@ static void SetBufferPicture( vout_thread_t *p_vout, picture_t *p_pic )
/* Clear remaining bytes */
*p_data8++ = 0;
}
#endif
}
/*
......
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