[FFmpeg-devel] [PATCH v14 2/5] compat/w32dlfcn.h: Remove MAX_PATH limit and replace LoadLibraryExA with LoadLibraryExW

nil-admirari at mailo.com nil-admirari at mailo.com
Wed Jun 15 23:00:10 EEST 2022


> path_size <= INT16_MAX
>
> (the edge case is already covered by the equals)

Done: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297590.html.
Don't quite understand what edge case you've meant:
INT16_MAX is 32767, which is the maximal path length allowed,
+ 1 is needed for the terminating null.

> I know this line existed before your path, but it would be nice
> to clarify check and condition, like:
>
> // On Win7 an earlier we check if KB2533623 is available

Changed the comment.

> name_w leaks here

Fixed.





More information about the ffmpeg-devel mailing list