Hi,

2011/9/5 Måns Rullgård <[email protected]>:
> Luca Barbato <[email protected]> writes:
>
>> On 9/5/11 7:15 PM, Sean McGovern wrote:
>>> Fixes 'address of a void object cannot be taken' error
>>
>> I'm wondering why those are void.
>>
>> maybe the commit message might tell which compiler says that =)
>
> They are assembler labels IIRC.  This means the entire thing is insanely
> invalid C.

Correct. Looking at the code, it tries to do something along the lines of:

void function(int index)
{
    array labels[9] = {label0, label1, ... };
    goto label[index];
label0:
    ..
label1:
    ..
[etc.]
}

> It should be redone with yasm instead.

Someone needs to volunteer to convert it. That someone is not me.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to