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

Ross Finlayson finlayson at live555.com
Mon Nov 28 15:32:09 PST 2005


At 08:25 AM 11/23/2005, you wrote:
>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.

I changed this to "unsigned long", because Visual C++ (at least, the 
version I use) doesn't understand "unsigned long long".

The fix will appear in the next software release.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list