Made the following changes:<br><ol><li>release p_input early</li><li>use sizeof for snprintf</li></ol><br>Did not use strtok as the code would become more complicated ( us_strtof works well enough )<br>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)<br>
<br><div class="gmail_quote">2011/6/24 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le vendredi 24 juin 2011 00:56:56 akash mehrotra, vous avez écrit :<br>
<div class="im">> Fixed the p_aout check<br>
<br>
</div>You should release the input object ASAP. This would simplify the code.<br>
<br>
Please use sizeof() for the snprintf() size parameter.<br>
<div class="im"><br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>