[PATCH v2 4/6] windowscodecs: Implement DdsDecoder_Wine_Initialize().
11 Jul
2020
11 Jul
'20
1:50 a.m.
Code in DdsDecoder_Initialize() is moved to DdsDecoder_Wine_Initialize(). And DdsDecoder_Initialize() is implemented on top of DdsDecoder_Wine_Initialize(). Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> --- v2: Lock critical section in DdsDecoder_Initialize(). dlls/windowscodecs/ddsformat.c | 125 +++++++++++++++------------ dlls/windowscodecs/tests/ddsformat.c | 3 - 2 files changed, 72 insertions(+), 56 deletions(-)
13 Jul
13 Jul
12:50 a.m.
I think the lock should already be held during the call to IWICWineDecoder_Initialize. I don't want to think about what will happen if some other thread grabs the lock between that and checking the file type.
1982
Age (days ago)
1984
Last active (days ago)
1 comments
2 participants
participants (2)
-
Esme Povirk (they/them) -
Ziqing Hui