Changeset e63d66d5d507f90aba71d93940978bf0659bcf32

Show
Ignore:
Timestamp:
09/03/06 11:56:53 (3 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1141901813 +0000
git-parent:

[c0d091cefba98520474022858c0176fc1c85fea9]

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

Revert [14683]
You can definitely declare variable at the beginning of a nested block with gcc 2.95

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/rtsp.c

    rc8f1e3f re63d66d  
    11341134    char *p, *psz_sdp, ip[NI_MAXNUMERICHOST], ipv; 
    11351135    const char *psz_control; 
    1136     lldiv_t d; 
    11371136 
    11381137    if( httpd_ServerIP( cl, ip ) == NULL ) 
     
    11971196    if( p_media->i_length > 0 ) 
    11981197    { 
    1199         d = lldiv( p_media->i_length / 1000, 1000 ); 
     1198        lldiv_t d = lldiv( p_media->i_length / 1000, 1000 ); 
    12001199        p += sprintf( p, "a=range:npt=0-"I64Fd".%03u\r\n", d.quot, 
    12011200                      (unsigned)d.rem );