Commit 04d173cc authored by Ilkka Ollakka's avatar Ilkka Ollakka

httplive: add likely

parent 37c8d257
...@@ -2297,7 +2297,7 @@ static int Peek(stream_t *s, const uint8_t **pp_peek, unsigned int i_peek) ...@@ -2297,7 +2297,7 @@ static int Peek(stream_t *s, const uint8_t **pp_peek, unsigned int i_peek)
size_t i_buff = segment->data->i_buffer; size_t i_buff = segment->data->i_buffer;
uint8_t *p_buff = segment->data->p_buffer; uint8_t *p_buff = segment->data->p_buffer;
if (i_peek < i_buff) if ( likely(i_peek < i_buff))
{ {
*pp_peek = p_buff; *pp_peek = p_buff;
vlc_mutex_unlock(&segment->lock); vlc_mutex_unlock(&segment->lock);
......
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