[FFmpeg-devel] WinRT API support patch
jessejiang0214 at outlook.com
Thu Nov 20 09:48:02 CET 2014
Because of Windows RT cannot use CryptographicBuffer or _beginthreadex API, so I try to use rand() instead of it, or we need to write own function instead of it. If we use WinRT api to instead of these apis, it will cause more bugs.
> From: Reimar.Doeffinger at gmx.de
> Date: Thu, 20 Nov 2014 09:18:30 +0100
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] WinRT API support patch
> 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.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel