Commit c8530848 authored by Gildas Bazin's avatar Gildas Bazin

* modules/mux/*: fixed block_Realloc() typo.

parent 8831fe33
...@@ -444,7 +444,7 @@ static int Mux ( sout_mux_t *p_mux ) ...@@ -444,7 +444,7 @@ static int Mux ( sout_mux_t *p_mux )
p_sys->idx1.i_entry_max * sizeof( avi_idx1_entry_t ) ); p_sys->idx1.i_entry_max * sizeof( avi_idx1_entry_t ) );
} }
p_data = block_Realloc( p_data, 8, 0 ); p_data = block_Realloc( p_data, 8, p_data->i_buffer );
if( p_data ) if( p_data )
{ {
SetFCC( p_data->p_buffer, p_stream->fcc ); SetFCC( p_data->p_buffer, p_stream->fcc );
......
...@@ -273,7 +273,7 @@ int E_( EStoPES )( sout_instance_t *p_sout, ...@@ -273,7 +273,7 @@ int E_( EStoPES )( sout_instance_t *p_sout,
if( p_es ) if( p_es )
{ {
p_es = block_Realloc( p_es, i_pes_header, 0 ); p_es = block_Realloc( p_es, i_pes_header, p_es->i_buffer );
/* reuse p_es for first frame */ /* reuse p_es for first frame */
*pp_pes = p_pes = p_es; *pp_pes = p_pes = p_es;
/* don't touch i_dts, i_pts, i_length as are already set :) */ /* don't touch i_dts, i_pts, i_length as are already set :) */
......
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