Commit f6fc5075 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

ogg: Use unlikely()

(cherry picked from commit 300b4d59)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5578301c
...@@ -912,7 +912,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux ) ...@@ -912,7 +912,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
logical_stream_t *p_stream; logical_stream_t *p_stream;
p_stream = malloc( sizeof(logical_stream_t) ); p_stream = malloc( sizeof(logical_stream_t) );
if( !p_stream ) if( unlikely( !p_stream ) )
return VLC_ENOMEM; return VLC_ENOMEM;
TAB_APPEND( p_ogg->i_streams, p_ogg->pp_stream, p_stream ); TAB_APPEND( p_ogg->i_streams, p_ogg->pp_stream, p_stream );
......
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