[FFmpeg-devel] [PATCH] simplify some mpc7 code
Wed Jan 27 21:13:51 CET 2010
On Wed, Jan 27, 2010 at 09:08:01PM +0100, Reimar D?ffinger wrote:
> there is the same code duplicated 5 times, which IMO obfuscates the algorithm
> a lot, attached patch extracts it into a function.
> It also reworks a similar but different piece of code so it is IMO simple and
> gcc no longer complains about "t" possibly being used uninitialized.
Idea look OK but I see get_bits(8) in function and get_bits(6) in later
code. Have you tested it? And maybe add inline qualifier to that
More information about the ffmpeg-devel