[Patch] MVect initialization in decode.c
I was trying to compile theora alpha 5. under Windows XP with Visual C Express Edition but when I tried to run dumpvid I got a crash.
I ran it in the debugger and it kept telling me that MVect  in decode.c wasn't defined. It took me a while to figure out that it meant not initialized.
so I changed /* set the default motion vector to 0,0 / MVect .x = 0; MVect .y = 0; LastInterMV.x = 0; to / set the default motion vector to 0,0 */ MVect.x = MVect.x = MVect.x = MVect.x = MVect.x = MVect.x = 0; MVect.y = MVect.y = MVect.y = MVect.y = MVect.y = MVect.y = 0; LastInterMV.x = 0; And it's working like a charm.
Sorry don't know how to enter code in here properly. Hopefuly you can decypher it.