Re: problems about theora encoding

"[email protected]" <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.general
Message-ID <[email protected]>
> If I recall correctly, the problem is that in C99 standard, all variables
> need to be declared at the beginning of a function, so the warning is
> probably caused by defining a variable in the middle of a function.

C99 allows declaration anywhere. The problem is a bug in the MSVC
code generation, which inserts code to check whether the source of
an assignment was initialized, and moans if not, even if the value is
not used afterwards. It's meant as a safety feature, I suppose, but
is complaining about things that are OK.
A quick sidestep would be to replace "sb_full=sb_full" by "sb_full=0"
in your copy of the source. This should keep MSVC happy.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.