[FFmpeg-devel] [PATCH] libavcodec/exr: Fix blank output when data window != display window

Kevin Wheatley kevin.j.wheatley at gmail.com
Tue Jan 3 18:54:56 EET 2017

looks like there is a bug in commit
1a08758e7c4e14a9ea8d2fef6c33ad411b2d3c40 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: Kevin Wheatley <kevin.j.wheatley at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-Fix-blank-output-when-data-window-dis.patch
Type: application/octet-stream
Size: 1434 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170103/3c92c896/attachment.obj>

More information about the ffmpeg-devel mailing list