Skip to content

Memory leak and some bugs #3

@leochangzliao

Description

@leochangzliao

For some images, if its height or width less than 32*4 pixels, this line

const int h1 = (int) ceil(double(rowsiz - imWidth) / stride);
will be negative, and this line will break down.
My computer will not respond if I run the code many times, and it seems that all my CPU memory used up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions