[Live-devel] [PATCH] Kasenna XML to SDP duration field fix

Glen Gray glen at lincor.com
Wed Nov 23 16:25:37 PST 2005


This fix is to sort a problem where the SDP was created using an 
unsigned int for the duration value. This would give a maximum duration 
of 4294 seconds, or 71 mins 30'ish seconds. Not very long and as a 
result vlc's length value for the
movie is well off. Compounded by a print formatting error to be a signed 
number, the SDP would only ever show a maximum length of 2147 seconds, 
or 35'ish mins, even worse.

This patch fixes the sscanf/printf formatting and the storatge type to 
be unsigned long long. This patch is against an older release of the 
snapshot as I couldn't get to live555.com today for some reason.

-- 
Glen Gray <glen at lincor.com>              Digital Depot, Thomas Street
Senior Software Engineer                            Dublin 8, Ireland
Lincor Solutions Ltd.                          Ph: +353 (0) 1 4893682

-------------- next part --------------
A non-text attachment was scrubbed...
Name: live_sdp_duration_fix.diff
Type: text/x-patch
Size: 1447 bytes
Desc: not available
Url : http://lists.live555.com/pipermail/live-devel/attachments/20051123/ef0309f1/live_sdp_duration_fix.bin


More information about the live-devel mailing list