- Timestamp:
- Jun 20, 2008 12:31:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp.c
r2032 r2035 1064 1064 session = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_session); 1065 1065 PJ_ASSERT_RETURN(session != NULL, PJ_ENOMEM); 1066 1067 /* Ignore leading newlines */ 1068 while (*scanner.curptr=='\r' || *scanner.curptr=='\n') 1069 pj_scan_get_char(&scanner); 1066 1070 1067 1071 PJ_TRY { … … 1112 1116 pj_scan_get_char(&scanner); 1113 1117 if (!pj_scan_is_eof(&scanner)) { 1118 ctx.last_error = PJMEDIA_SDP_EINSDP; 1114 1119 on_scanner_error(&scanner); 1115 1120 }
Note: See TracChangeset
for help on using the changeset viewer.