]> git.sesse.net Git - vlc/blobdiff - modules/access/udp.c
add missing option
[vlc] / modules / access / udp.c
index 34aec44804a79d9b9223a32d421eba665ef61501..b98a9116f868b2e404eed725ff31f6f5e4ff20f4 100644 (file)
@@ -313,7 +313,9 @@ static block_t *BlockUDP( access_t *p_access )
 
     /* Read data */
     p_block = block_New( p_access, p_sys->i_mtu );
-    p_block->i_buffer = net_Read( p_access, p_sys->fd, p_block->p_buffer, p_sys->i_mtu, VLC_FALSE );
+    p_block->i_buffer = net_Read( p_access, p_sys->fd, NULL,
+                                  p_block->p_buffer, p_sys->i_mtu,
+                                  VLC_FALSE );
     if( p_block->i_buffer <= 0 )
     {
         block_Release( p_block );