[FFmpeg-devel] [PATCH] Add test for avpriv_get_trc_function_from_trc function

Michael Niedermayer michael at niedermayer.cc
Thu Mar 3 20:00:45 CET 2016

On Thu, Mar 03, 2016 at 06:11:19PM +0000, Derek Buitenhuis wrote:
> On 3/3/2016 6:01 PM, NagaChaitanya Vellanki wrote:
> > +              printf("AVColorTransferCharacteristic=%d calling func(%f) expected=%f\n",
> > +                     i, test_data[j], result);
> Comparing floats exactly probably isn't a great idea, since
> floating point implementations differ between architectures.

it should be ok if the number of digits printed after the decimal
point are not too many

ill try to test if this works on what i have easy access to

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- 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/20160303/a7530883/attachment.sig>

More information about the ffmpeg-devel mailing list