Thread: VirtualDub2
View Single Post
Old 16th July 2016, 11:25   #71  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Quote:
Originally Posted by manolito View Post
FWIW there is a patch at the Zeranoe forum which makes the latest FFmpeg versions work under XP. It is a simple search and replace patch, wfopen_s is changed to wfopen.
https://ffmpeg.zeranoe.com/forum/vie...hp?f=13&t=3572


Cheers
manolito
The path may seem to solve local problem but this is very ugly patch.
There is no need to replace wfopen_s with wfopen, you can replace it with all zeroes because the function will not work anyway.

Code:
FILE *_wfopen( 
   const wchar_t *filename,
   const wchar_t *mode 
);

errno_t _wfopen_s(
   FILE** pFile,
   const wchar_t *filename,
   const wchar_t *mode 
);
__________________
VirtualDub2
shekh is offline   Reply With Quote