[PATCH v6 2/5] windowscodecs: In find_decoder(), get rid of nested if by using goto, and use IWICWineDecoder_Initialize() to initialize decoders.
15 Jul
2020
15 Jul
'20
2 p.m.
Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> --- v6: * Move declaration for decoderinfo and wine_decoder inside the loop. * Remove label "end". * Remove the NULL checking for the release of enumdecoders and unkdecoderinfo because we know that they must have been successfully created. unkdecoderinfo is not able to be moved inside because it is used in the loop condition. dlls/windowscodecs/imgfactory.c | 100 ++++++++++++++++---------------- 1 file changed, 49 insertions(+), 51 deletions(-)
1981
Age (days ago)
1983
Last active (days ago)
1 comments
2 participants
participants (2)
-
Esme Povirk (they/them) -
Ziqing Hui