13 Nov
2022
13 Nov
'22
4:55 a.m.
Zebediah Figura (@zfigura) commented about dlls/ir50_32/ir50.c:
+ LPARAM lParam1, LPARAM lParam2 ) +{ + AVCodecContext *avctx = (AVCodecContext *) dwDriverId; + LRESULT r = ICERR_UNSUPPORTED; + + TRACE("%Id %p %04x %08Ix %08Ix\n", dwDriverId, hdrvr, msg, lParam1, lParam2); + + switch( msg ) + { + case DRV_LOAD: + TRACE("Loaded\n"); + r = 1; + break; + + case DRV_ENABLE: + break; I assume this was copy-pasted from another driver, but since we're introducing new code, we could probably simplify this by combining some cases.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1301#note_15592