[FFmpeg-devel] [PATCH] avcodec/exr

Michael Niedermayer michael at niedermayer.cc
Sat Mar 11 14:09:45 EET 2017


On Mon, Mar 06, 2017 at 05:00:22PM +0000, Dzung Hoang wrote:
> The EXR decoder cannot handle the image files included in NVidia's HDR SDK. After debugging, I found that the line offset table in the image files contained 0's. Other EXR decoders, including the official OpenEXR decoder, can detect and reconstruct missing line offset tables, so I added some code to do so.
> I filed a trac ticket for this issue here: https://trac.ffmpeg.org/ticket/6220.
> 
> 
> The patch is below.
> Regards,Dzung Hoang
> 
> 
> diff --git a/libavcodec/exr.c b/libavcodec/exr.c
> 
> index 034920f..de48e76 100644
> 
> --- a/libavcodec/exr.c
> 
> +++ b/libavcodec/exr.c
> 
> @@ -1726,6 +1726,24 @@ static intdecode_frame(AVCodecContext *avctx, void *data,

this patch looks corrupted
also, if one of the images is small please add a fate test

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170311/a508e1e9/attachment.sig>


More information about the ffmpeg-devel mailing list