Changeset d2392e8e6bae9e019286913551ddff4a9314f904

Show
Ignore:
Timestamp:
08/31/07 18:07:37 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1188576457 +0000
git-parent:

[ed0df23bb1b6a743d1742e07f098eb4fd185d6f4]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1188576457 +0000
Message:

Silent hack to avoid crash when MTU is too small

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_output/udp.c

    r7e772f7 rd2392e8  
    375375 
    376376    p_sys->i_mtu = var_CreateGetInteger( p_this, "mtu" ); 
     377    if( p_sys->b_rtpts && ( p_sys->i_mtu < RTP_HEADER_LENGTH ) ) 
     378        p_sys->i_mtu += RTP_HEADER_LENGTH; 
    377379 
    378380    srand( (uint32_t)mdate());