[Vorbis-dev] Add vorbis_dsp_init() ?

Martin Guy martinwguy at yahoo.it
Sun Mar 15 04:27:42 PDT 2009


On 3/15/09, Martin Guy <martinwguy at yahoo.it> wrote:
>  int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb){
>  -  vb->localalloc=0;
>  -  vb->localstore=NULL;
> ...
>  +void vorbis_dsp_init(vorbis_dsp_state *v){
>  +  memset(v,0,sizeof(*v));
>   }

Hang on, you're removing initialization of vb, not v!

    M


More information about the Vorbis-dev mailing list