Hi,

2011/5/5 Aℓex Converse <aconve...@google.com>:
> 2011/5/5 Jindřich Makovička <makov...@gmail.com>
>>
>> Hi,
>>
>> although I don't know much about wma voice, I think this piece of code
>> doesn't do what is expected (sizeof returns the size of pointer in
>> this case, i.e. 4 or 8 based on arch, not 25).
>>
>> decode_vbmtree(GetBitContext *gb, int8_t vbm_tree[25])
>> {
>> ...
>>    memset(vbm_tree, 0xff, sizeof(vbm_tree));
>>
>
> Thanks.

Did you confirm that the code indeed doesn't do what it's supposed to do?

(In that case, I'm surprised it works at all, but that's probably just me...)

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to