• Kevin Wheatley's avatar
    libavcodec/exr: Fix blank output when data window != display window · 09905c41
    Kevin Wheatley authored
    looks like there is a bug in commit
    1a08758e relating to the handling of
    ptr in decode_frame after decode_block is called, before this commit
    ptr would have been incremented for each line in the data window, now
    after the commit it is left at the start of the first included line
    rather than the line after the data window then the code sets the
    remaining lines to 0 and thus the whole image is over written.
    
    Fix by adjusting ptr to the correct line after decode_block returns
    Signed-off-by: 's avatarKevin Wheatley <kevin.j.wheatley@gmail.com>
    09905c41
exr.c 61 KB