Signed-off-by: Ziqing Hui zhui@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(-)