mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
command: silence a warning on win32
Same goal as a change in the #1255 PR, but IMO slightly less ifdefferish.
This commit is contained in:
parent
2a5c77df73
commit
9f239464da
@ -3668,6 +3668,8 @@ static void replace_overlay(struct MPContext *mpctx, int id, struct overlay *new
|
||||
// Do this afterwards, so we never unmap while the OSD is using it.
|
||||
if (old.osd.bitmap && old.map_size)
|
||||
munmap(old.osd.bitmap, old.map_size);
|
||||
#else
|
||||
(void)old;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user