[FFmpeg-devel] libavcodec/exr : fix float to uint16 conversion for negative value

Michael Niedermayer michael at niedermayer.cc
Thu Apr 27 05:24:28 EEST 2017


On Tue, Apr 25, 2017 at 11:04:21PM +0200, Martin Vignali wrote:
> >
> > did you try to make exp int32_t to avoid the 2nd check ?
> >
> > [...]
> >
> 
> New patch in attach, with exp (and v) in int32_t
> 
> Also fix the sample for me
> 
> Martin

>  exr.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 774a98e2326e626033c2bdac258d0d839b9ee5ff  0001-libavcodec-exr-fix-float-to-uint16-conversion-for-ne.patch
> From 932c66d3e06166e82318cfb3620ea89d762741ce Mon Sep 17 00:00:00 2001
> From: Martin Vignali <martin.vignali at gmail.com>
> Date: Tue, 25 Apr 2017 22:52:50 +0200
> Subject: [PATCH] libavcodec/exr : fix float to uint16 conversion for negative
>  float value

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- 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/20170427/73f7ee61/attachment.sig>


More information about the ffmpeg-devel mailing list