Changeset 901 for pjproject


Ignore:
Timestamp:
Jan 23, 2007 3:30:31 PM (18 years ago)
Author:
bennylp
Message:

More ticket #64 fix: allow whitespace after SDP media format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp.c

    r900 r901  
    939939    while (*scanner->curptr == ' ') { 
    940940        pj_scan_get_char(scanner); 
     941 
     942        /* Check again for the end of the line */ 
     943        if ((*scanner->curptr == '\r') || (*scanner->curptr == '\n')) 
     944                break; 
     945 
    941946        pj_scan_get(scanner, &cs_token, &med->desc.fmt[med->desc.fmt_count++]); 
    942947    } 
Note: See TracChangeset for help on using the changeset viewer.