Changeset 171
- Timestamp:
- 10/07/07 22:41:13
(11 months ago)
- Author:
- sip
- Message:
Fixed crash on free string.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r170 |
r171 |
|
| 1005 | 1005 | char *session; |
|---|
| 1006 | 1006 | char *range; |
|---|
| | 1007 | char *j; |
|---|
| 1007 | 1008 | |
|---|
| 1008 | 1009 | struct SDPContent* sdp = NULL; |
|---|
| … | … | |
| 1339 | 1340 | duration = -1; |
|---|
| 1340 | 1341 | } else { |
|---|
| | 1342 | /* Get end part */ |
|---|
| | 1343 | j = strchr(range,'-'); |
|---|
| 1341 | 1344 | /* Check format */ |
|---|
| 1342 | | if (range=strchr(range,'-')) |
|---|
| | 1345 | if (j) |
|---|
| 1343 | 1346 | /* Get duration */ |
|---|
| 1344 | | duration = atof(range+1)*1000; |
|---|
| | 1347 | duration = atof(j+1)*1000; |
|---|
| 1345 | 1348 | else |
|---|
| 1346 | 1349 | /* No end of stream */ |
|---|
Download in other formats:
|
|