Commit cae8650f authored by Antoine Cellerier's avatar Antoine Cellerier

Looks like we didn't malloc the right size. (If this was some dirty

hack, please revert my commit and add a comment explaining why it's
needed because)

Thanks to http://forum.videolan.org/viewtopic.php?t=18285 for noticing.
parent e840a9de
......@@ -151,7 +151,7 @@ block_fifo_t *__block_FifoNew( vlc_object_t *p_obj )
{
block_fifo_t *p_fifo;
p_fifo = malloc( sizeof( vlc_object_t ) );
p_fifo = malloc( sizeof( block_fifo_t ) );
vlc_mutex_init( p_obj, &p_fifo->lock );
vlc_cond_init( p_obj, &p_fifo->wait );
p_fifo->i_depth = p_fifo->i_size = 0;
......
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