[FFmpeg-devel] avcodec_decode_video crash when using ffmpeg libraries with MSVC 2008 project

Joakim Plate elupus
Mon Jun 22 18:09:58 CEST 2009

Alex Guion <aguion <at> orb.com> writes:

> Hi all,

To start with you are on the wrong list + asking MSVC specific question here, 
i'm sure there is only a matter of time before you get flamed to *ell.

I'll give you two hints, BUT don't feel any need to reply here... Go to ffmpeg 
user mailing list.

1. Padding of the buffer passed to decode function (very likely cause)
2. Stack alignment when calling ffmpeg functions 
   - this one can't be solved without resorting to asm code to call 
     ffmpeg functions, its also not such a likely problem anymore 
     as most of those use cases are gone from ffmpeg codebase.

More information about the ffmpeg-devel mailing list