Commit 17819e9b authored by Christophe Massiot's avatar Christophe Massiot

* modules/access/udp.c : Fixed a segfault.

parent 87119399
...@@ -392,7 +392,12 @@ trash: ...@@ -392,7 +392,12 @@ trash:
static block_t *BlockRTP( access_t *p_access ) static block_t *BlockRTP( access_t *p_access )
{ {
return BlockParseRTP( p_access, BlockUDP( p_access ) ); block_t *p_block = BlockUDP( p_access );
if ( p_block != NULL )
return BlockParseRTP( p_access, p_block );
else
return NULL;
} }
/***************************************************************************** /*****************************************************************************
......
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