[vlc-devel] [PATCH] Modifications for HTTPD and RPN modules
Rémi Denis-Courmont
rem at videolan.org
Wed Oct 15 16:16:24 CEST 2008
Hello,
Le mercredi 15 octobre 2008 15:33:01 Scott Lyons, vous avez écrit :
> [PATCH] Working on a few remote-control applications that require more
> details about the files in the playlist and the currently playing
> file.
Your patch is corrupted. Tell your mail agent to not reformat, or send the
0001-*.patch file as an attachment.
> @@ -384,10 +384,59 @@ void PlaylistListNode( intf_thread_t *p_intf,
> playlist_t *p_pl,
> else
> mvar_AppendNewVar( itm, "ro", "rw" );
>
> - sprintf( value, "%ld",
> - (long) input_item_GetDuration( p_node->p_input ) );
> + sprintf( value, "%ld", (long) input_item_GetDuration(
> p_node->p_input ) );
> mvar_AppendNewVar( itm, "duration", value );
Remove the (long) cast and replace '"%ld"' with '"%"PRId64'.
--
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
More information about the vlc-devel
mailing list