[FFmpeg-devel] [PATCH] QT RLE header parser refactoring

Mike Melanson mike
Mon Mar 10 05:19:27 CET 2008


Hi,

I was reviewing old correspondence regarding the QT RLE decoder. Michael 
indicated that rampant code duplication should be eliminated. This patch 
  is a first attempt at that. Each of the individual decoder functions 
has the same code copied. I separated it out into a macro. This was the 
easiest solution since the code touches on a lot of variables declared 
in the local scope.

Critiques? Thanks...

-- 
	-Mike Melanson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qtrle-refactor1.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080309/ba04ceb1/attachment.txt>



More information about the ffmpeg-devel mailing list