[Ffmpeg-devel] Stack overflow patch

Kristian Amlie kristian
Fri Mar 2 19:00:10 CET 2007


Quoting M?ns Rullg?rd <mans at mansr.com>:

> Kristian Amlie <kristian at gridmedia.com> writes:
>
>> This patch fixes ffmpeg so that av_find_stream_info() can be called
>> from MSVC++ without causing a stack overflow. It does so by replacing
>> the auto array "duration_error" with a malloced array.
>
> What difference does it make which compiler is used for the calling code?

The stack size is smaller on Windows by default. It is possible to  
change it, but there is no reason why ffmpeg shouldn't work out of the  
box (plus the code already had a FIXME in that location).

Regards
Kristian Amlie





More information about the ffmpeg-devel mailing list