Commit dca2381b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RTSP: fix a=range syntax

parent 45b2fbe5
...@@ -1540,7 +1540,7 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl ) ...@@ -1540,7 +1540,7 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
if( p_media->i_length > 0 ) if( p_media->i_length > 0 )
{ {
lldiv_t d = lldiv( p_media->i_length / 1000, 1000 ); lldiv_t d = lldiv( p_media->i_length / 1000, 1000 );
sdp_AddAttribute( &psz_sdp, "range"," npt=0-%lld.%03u", d.quot, sdp_AddAttribute( &psz_sdp, "range","npt=0-%lld.%03u", d.quot,
(unsigned)d.rem ); (unsigned)d.rem );
} }
......
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