1
0
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:
wm4 2014-11-08 10:22:53 +01:00
parent 2a5c77df73
commit 9f239464da

View File

@ -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
}