Commit 21e724fa authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: return instead of abort()

parent 248519b2
...@@ -1723,7 +1723,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes ) ...@@ -1723,7 +1723,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
/* Append a \0 */ /* Append a \0 */
p_block = block_Realloc( p_block, 0, p_block->i_buffer + 1 ); p_block = block_Realloc( p_block, 0, p_block->i_buffer + 1 );
if( !p_block ) if( !p_block )
abort(); return;
p_block->p_buffer[p_block->i_buffer -1] = '\0'; p_block->p_buffer[p_block->i_buffer -1] = '\0';
} }
else if( pid->es->fmt.i_codec == VLC_CODEC_TELETEXT ) else if( pid->es->fmt.i_codec == VLC_CODEC_TELETEXT )
......
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