[Ffmpeg-devel] Bug report: libavformat - ogg2.c bug?

Måns Rullgård mru
Sun Apr 10 19:26:49 CEST 2005


"Robert Swain" <robert.swain at gmail.com> writes:

> Since yesterday I've been having problems compiling libavformat due
> to various commits regarding ogg2.c and related source.
>
> I'm using MinGW, MSYS and MSYS DTK to compile, for reference this is
> with GCC 3.4.2.
>
> ogg2.c:152: error: syntax error before '*' token
> ogg2.c: In function `ogg_find_codec':
> ogg2.c:157: error: `size' undeclared (first use in this function)
> ogg2.c:157: error: (Each undeclared identifier is reported only once
> ogg2.c:157: error: for each function it appears in.)
> ogg2.c:158: error: `buf' undeclared (first use in this function)
> ogg2.c: In function `ogg_read_page':
> ogg2.c:286: error: `u_char' undeclared (first use in this function)
> ogg2.c:286: error: `nb' undeclared (first use in this function)
> ogg2.c: In function `ogg_packet':
> ogg2.c:361: error: `u_char' undeclared (first use in this function)
> ogg2.c:361: error: `nb' undeclared (first use in this function)
> make[1]: *** [ogg2.o] Error 1
>
> I hope this helps solving the problem...

Looks like a problem with u_char not being defined.  Update CVS, and
try again.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list