Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Tanguy Fautre
of view and ultimately hurts FFmpeg. Tanguy From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Garrett Potts Sent: 11 July 2009 03:24 To: OpenSceneGraph Users Subject: Re: [osg-users] ffmpeg stdint on Windows? Hello All

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Garrett Potts
. Tanguy From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org ] On Behalf Of Garrett Potts Sent: 11 July 2009 03:24 To: OpenSceneGraph Users Subject: Re: [osg-users] ffmpeg stdint on Windows? Hello All: The link below is the one I used before to add

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Paul Melis
Hi, Tanguy Fautre wrote: A bit OT, but which part of the C standard says that all uninitialized variables shall default to 0? The only zero initialization guarantee of the C standard I know of is related to static variables (which MSVC supports). I'm pretty sure even GCC doesn't

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Paul Melis
Garrett Potts wrote: [...] Honestly I have not read up on the C standard and only took what they said as being true. They said they adhere to the C99 standard and they sent me a cut and past from the C99 standard that said variables are to be initialized to 0 but honestly can't remember if

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Tanguy Fautre
-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Melis Sent: 13 July 2009 12:53 To: OpenSceneGraph Users Subject: Re: [osg-users] ffmpeg stdint on Windows? Garrett Potts wrote: [...] Honestly I have not read up on the C standard and only took what they said as being true. They said

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-13 Thread Tanguy Fautre
Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Melis Sent: 13 July 2009 12:45 To: OpenSceneGraph Users Subject: Re: [osg-users] ffmpeg stdint on Windows? Hi, [...] The second paragraph is interesting, as it suggests

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Jean-Sébastien Guay
Hi Paul, Has anyone successfully built the ffmpeg dependency on Windows? Once built, were you successful in getting OSG's CMake to produce a ffmpeg plugin project file? We just used prebuilt binaries of ffmpeg (non-GPL). Perhaps you could use them too? I think you could search for

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Jason Daly
Jean-Sébastien Guay wrote: We've built the ffmpeg dependency (with mingw; I wonder what issues we'll encounter linking this against other VS object files), As you probably know, you can't build ffmpeg with MSVC, but you can link other programs with it. This page has some info about

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Garrett Potts
Hello All: The link below is the one I used before to add stdint.h and inttypes.h. I use it for the builds on windws. I have sucessfully used mingw then use Microsofts implib tool to create a import lib for the dll. Like they said below. ffmpeg will not build on MSVC and even if you

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Garrett Potts
Hello All: If you are going to build it from scratch I have better luck making sure that you disable mmx and mmx2. This is a killer to get to build sometime. I get local registers getting clobbered errors when using their assembly enhanced code routines and if the mmx acceleration is