Commit aacb2a82 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix read of unitialized variable (cid #1125395)

Even if should not have any impact during execution.
parent 2ca8c9db
......@@ -692,8 +692,7 @@ static block_t *OggStreamPageOut( sout_mux_t *p_mux,
static void OggGetSkeletonIndex( uint8_t **pp_buffer, long *pi_size, ogg_stream_t *p_stream )
{
uint8_t *p_buffer = *pp_buffer;
p_buffer = calloc( INDEX_BASE_SIZE + p_stream->skeleton.i_index_size, sizeof(uint8_t) );
uint8_t *p_buffer = calloc( INDEX_BASE_SIZE + p_stream->skeleton.i_index_size, sizeof(uint8_t) );
if ( !p_buffer ) return;
*pp_buffer = p_buffer;
......
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