1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavutil
Marton Balint 9b0128aa76 avutil/wchar_filename: re-introduce explicit cast of void* to char*
Fixes compile error on windows with decklink:

In file included from ./libavformat/os_support.h:175,
                 from ./libavformat/internal.h:30,
                 from libavdevice/decklink_common.cpp:25:
./libavutil/wchar_filename.h: In function 'int wchartocp(unsigned int, const wchar_t*, char**)':
./libavutil/wchar_filename.h:59:32: error: invalid conversion from 'void*' to 'char*' [-fpermissive]
   59 |     *filename = av_malloc_array(num_chars, sizeof **filename);
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                void*

Regression since e9e8bea2e79bc3c481a6f81f75f6c871e3e0f367.

Fixes ticket #11103.

Signed-off-by: Marton Balint <cus@passwd.hu>
2024-10-27 09:37:46 +01:00
..
2024-07-21 17:02:12 +02:00
2024-03-31 00:08:43 +01:00
2024-05-04 21:31:33 -03:00
2024-09-26 16:42:45 -03:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2024-10-16 16:46:29 +02:00
2024-10-16 16:46:29 +02:00
2024-03-31 00:08:43 +01:00
2024-10-26 00:04:23 -03:00
2024-10-26 00:04:23 -03:00
2024-03-31 00:08:43 +01:00
2024-10-26 00:04:23 -03:00