[Speex-dev] (small) bug in nb_decode?

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Oct 25 16:46:02 PDT 2005


What I mean is that there's a 
if (st->submodes[st->submodeID] == NULL)
at line 1363 in nb_celp.c that ends the decode function. So if
something's wrong with the code, there's something else involved.

	Jean-Marc

On Tue, 2005-10-25 at 16:22 -0700, Tom Harper wrote:
> re:
> At 03:22 PM 10/25/2005, Jean-Marc Valin wrote:
> > Are you really sure you didn't have some corruption elsewhere?
> 
> Totally possible- this is the first time this has happened that I know
> of in many many hours of usage- 
> 
> On the other hand, this null check isn't in my code base and it was
> in 
> nb_decode_lost, and nb_encode- so I figured it was just an oversight- 
> 
> Tom
> 
> 
> 
> ______________________________________________
>  
> Tom Harper
> Lead Software Engineer
> SightSpeed - http://www.sightspeed.com/
>  
> 918 Parker St, Suite A14
> Berkeley, CA 94710
>  
> Email: tharper at sightspeed.com
> Phone: 510-665-2920
> Fax: 510-649-9569 
> My SightSpeed Video Link: http://tom.sightspeed.com
> 
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list