[FFmpeg-devel] WinRT API support patch

Jesse Jiang jessejiang0214 at outlook.com
Thu Nov 20 09:48:02 CET 2014

Hi Reimar,
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.
Best regards,Jesse
> 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
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list