[vlc-devel] [PATCH] Luahttp can access equalizer settings

akash mehrotra mehrotra.akash at gmail.com
Sat Jun 25 20:49:56 CEST 2011


Made the following changes:

   1. release p_input early
   2. use sizeof for snprintf


Did not use strtok as the code would become more complicated ( us_strtof
works well enough )
Did not change the while loop, it works as it is ( the 2nd argument of
us_strtof will become null if the string terminates earlier than expected.
this is the case in which the null condition will be used to end the loop)

2011/6/24 Rémi Denis-Courmont <remi at remlab.net>

> Le vendredi 24 juin 2011 00:56:56 akash mehrotra, vous avez écrit :
> > Fixed the p_aout check
>
> You should release the input object ASAP. This would simplify the code.
>
> Please use sizeof() for the snprintf() size parameter.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110626/bf18fa53/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-luahttp-can-access-and-set-equalizer.patch
Type: application/octet-stream
Size: 7243 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110626/bf18fa53/attachment.obj>


More information about the vlc-devel mailing list