Skip to content

Commit

Permalink
ffmpeg: Add required cast to w32dlfcn.h
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jun 29, 2023
1 parent a176ef1 commit 5f9b27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/external/FFmpeg/compat/w32dlfcn.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static inline wchar_t *get_module_filename(HMODULE module)

do {
path_size = path_size ? FFMIN(2 * path_size, INT16_MAX + 1) : MAX_PATH;
new_path = av_realloc_array(path, path_size, sizeof *path);
new_path = (wchar_t *)av_realloc_array(path, path_size, sizeof *path);
if (!new_path) {
av_free(path);
return NULL;
Expand Down

0 comments on commit 5f9b27c

Please sign in to comment.