[CELT-dev] Possible Bug

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu Sep 2 05:41:21 PDT 2010


> The problem comes decoding the next frame. Since now "shortBlocks" is false,
> "end_byte" is not initialized anymore and next functions read it before
> update.
>
> Can someone confirm this behaviour? In my case i modified ec_dec_init
> function to initialize it as well. What is the correct value?

Can you give a bit more information on what's happening? The end_byte  
field does not need to be initialized because it should get read when  
end_bits_left is zero. In what function is the uninitialized read  
happening and what happens then?

    Jean-Marc




More information about the celt-dev mailing list