[FFmpeg-devel] [PATCH][RFC] Lagarith Decoder.

Nathan Caldwell saintdev
Sat Aug 8 22:34:01 CEST 2009


On Thu, Aug 6, 2009 at 10:10 PM, Vitor Sessak<vitor1001 at gmail.com> wrote:
> Nathan Caldwell wrote:
>>
>> Here's my first attempt at a Lagarith decoder. At the moment it only
>> handles YV12 content, I do plan on adding in the other modes (RGB24,
>> YUY2, and RGBA). I just wanted some input on things that need changed
>> before I get too far along.
>> [...]
>> +static void lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
>> +{
>> + ? ?int i,j;
>> +
>> + ? ?/* According to reference decoder "1st byte is garbage" */ +//
>> ?skip_bits(gb, 8);
>
> The commented code line together with the comment is pretty confusing. Is
> the first byte ignored or not?

It is ignored, however the call to align skips over that byte, I
change the comment.


-- 
-Nathan Caldwell



More information about the ffmpeg-devel mailing list