[FFmpeg-devel] WinRT API support patch
Reimar.Doeffinger at gmx.de
Thu Nov 20 09:18:30 CET 2014
On 20 November 2014 08:34:54 CET, Jesse Jiang <jessejiang0214 at outlook.com> wrote:
>Add WinRT API supports
At least 2 fairly major issues:
1) using rand() basically never is correct. Use the appropriate CryptographicBuffer function (yes, that means you need some C++ code unfortunately).
2) CreateThread is not compatible with _beginthreadex, there is a good reason why we use this. Using the other without additional changes will cause memleaks or worse. I am not even sure it is at all possible to use CreateThread correctly for us.
More information about the ffmpeg-devel