[Theora-dev] Theora decode problem

Ralph Giles giles at xiph.org
Sat Oct 2 11:33:05 PDT 2004


On Fri, Oct 01, 2004 at 02:48:51PM -0700, Shana Cooke (Gitnick) wrote:

> I am trying to write a sample app that uses Theora for encoding/decoding
> a network video stream. Unfortunately, I keep running into this error: 
> 
> Run-Time Check Failure #3 - The variable 'MVect' is being used without
> being defined.

That's very odd. Last time I looked at that code (which also generates a 
compiler warning) the call was safe; the uninitialized values are 
never actually used.

> It always happens on decryption, line 467 in decode.c.  The issue is
> that CodingMethod is equal to 5 (CODE_GOLDENFRAME), which doesn't
> initialize the moving vectors - and yet it goes into this area anyway
> and promptly blows up because the moving vectors are garbage.

Does it actually blow up (or decode incorrectly) or is it just your 
runtime check making an inaccurate determination?

 -r


More information about the Theora-dev mailing list