[FFmpeg-devel] [RFC] use AV_WL32/AV_WB32 in put_bits
Sun Jan 25 18:54:49 CET 2009
On Sun, Jan 25, 2009 at 11:49:15AM +0100, Reimar D?ffinger wrote:
> I do not know if this was maybe intentional, but it seems to me put_bits
i think the code predates AV_WL32() and likely was just missed
so patch ok
> could use those macros to at least simplify the code, possibly to even
> speed it up.
> Maybe it could be simplified even more, since the else part is the same
> as AV_W?32, too, when HAVE_FAST_UNALIGNED is set.
yes indeed, the whole if/else could be replaced by a single AV_W...
this should be benchmarked though
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel