[x264-devel] [PATCH] MPEG2 Program Stream output

Lorenzo Pallara l.pallara at avalpa.com
Wed Jan 26 12:55:51 CET 2011


Jason Garrett-Glaser wrote:
> Nitpicks:

[...]

They should be all fix now...

>> +        return (unsigned long long int) ( x + 0.5 );
>> +    return (unsigned long long int) ( x - 0.5 );
> 
> Use uint64_t not this crap.  Does it really have to handle negatives?

good question, I thought about it and it shouldn't happen to have
negative values so I removed the < 0 case and the function call too
adding always the + 0.5

the new version is in attach, it changed the file output
description as pointed out by Gil Pedersen the other description could
be not proper.

best regards,
	Lorenzo


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pes.patch
Type: text/x-patch
Size: 8807 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110126/e9572856/attachment.bin>


More information about the x264-devel mailing list