[vlc-devel] [PATCH] libmp4: add macro MP4_GET4or8BYTES
jb at videolan.org
Wed Mar 28 11:41:21 CEST 2012
On Tue, Mar 27, 2012 at 10:30:04AM -0400, Robert Forsman wrote :
> While that patch makes the code more compact, I am concerned that it
> affects readability of the code. As sprawling as the previous version
> was, it matched up better with ISO 14496-12 section 220.127.116.11's syntax
Well, yes, that is the question. The use of such a macro is that it
makes the code more compact and avoids getting 4 bytes if version = 1 or
such stupid mistakes that can be hard to proof-read.
But you have a point about the 18.104.22.168 syntax.
I have no religion on that.
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel