[Ffmpeg-devel] bfin cpu specific build options

Guillaume POIRIER poirierg
Thu Feb 22 01:05:38 CET 2007


Hi,

On 2/21/07, Marc Hoffman <mmh at pleasantst.com> wrote:
> On Feb 21, 2007, at 3:03 PM, Marc Hoffman wrote:
> > On Feb 21, 2007, at 9:28 AM, M?ns Rullg?rd wrote:
> >> Guillaume POIRIER said:
> >>> I'm curious about the necessity of specifying stack size value. Is
> >>> this meant to optimize better, or is it necessary to just get ffmpeg
> >>> to compile and run correctly?
> >>
> >> That flag defines the symbol __stacksize as having the address,
> >> not value,
> >> 0x40000.  Presumably, there is a declaration such as extern long
> >> __stacksize;
> >> in some header, but no actual definition in any source file.  One
> >> can only
> >> hope that the loader actually store the stack size at this location.
> >
> > To answer the stacksize issue, the ffmpeg allocates the audio
> > buffer on the stack and that just happens to be 128k which is the
> > default stack size.  As Mans points out stacksize is just a symbol
> > which is defined by the liner environment.
> >
> > Do you need me to fix the indentation?
> >
>
> I guess here is the correct indentation:

Patch applied.

Guillaume



More information about the ffmpeg-devel mailing list