Commit 28787e22 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ogg: wrong allocation size

cid #1191888
parent 5bf7355f
......@@ -415,7 +415,7 @@ static int Demux( demux_t * p_demux )
{
assert( p_stream->p_prepcr_blocks == NULL );
p_stream->i_prepcr_blocks = 0;
p_stream->p_prepcr_blocks = malloc( sizeof(block_t) * ogg_page_packets( &p_sys->current_page ) );
p_stream->p_prepcr_blocks = malloc( sizeof(block_t *) * ogg_page_packets( &p_sys->current_page ) );
}
}
......
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