Commit ba7e4ce0 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Add assert()ions to help fighting a bug

parent eb73dbd3
...@@ -936,7 +936,9 @@ void __vout_CopyPicture( vlc_object_t *p_this, ...@@ -936,7 +936,9 @@ void __vout_CopyPicture( vlc_object_t *p_this,
{ {
/* We need to proceed line by line */ /* We need to proceed line by line */
uint8_t *p_in = p_src->p[i].p_pixels; uint8_t *p_in = p_src->p[i].p_pixels;
assert( p_in );
uint8_t *p_out = p_dest->p[i].p_pixels; uint8_t *p_out = p_dest->p[i].p_pixels;
assert( p_out );
int i_line; int i_line;
for( i_line = p_src->p[i].i_visible_lines; i_line--; ) for( i_line = p_src->p[i].i_visible_lines; i_line--; )
......
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