[vlc-devel] [PATCH] Modifications for HTTPD and RPN modules
Scott Lyons
scottalyons at gmail.com
Thu Oct 16 06:46:30 CEST 2008
Thanks Remi, my updated patch is attached.
On Wed, Oct 15, 2008 at 10:16 AM, Rémi Denis-Courmont <rem at videolan.org>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081016/be669528/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Working-on-a-few-remote-control-applications-that-re.patch
Type: application/octet-stream
Size: 10315 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081016/be669528/attachment.obj>
More information about the vlc-devel
mailing list