[rtmpdump] rtmpsuck duplicate filename patch

Andrew Brooks arb at sat.dundee.ac.uk
Mon Apr 2 10:07:18 CEST 2012


On 1 April 2012 02:09, Andy Goth <andrew.m.goth at gmail.com> wrote:

> There's some obscene bit twiddling involved.  I hope that's not a problem.
>  I needed to be able to figure out how many hexadecimal digits are needed
> to represent a number.
>

Variable-length numbers are a pain. How about just using a "%03d" format.
Much easier to code and much easier for users (eg.properly sorted output
from ls).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20120402/5a8f68a1/attachment-0001.html>


More information about the rtmpdump mailing list