Merge commit '70a7b24d56a823894440a372c46e89e212b89c35'

* commit '70a7b24d56a823894440a372c46e89e212b89c35':
  avutil: Add deprecation ifdefs around obsolete intfloat code

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2013-12-14 11:13:51 +01:00
3 changed files with 11 additions and 1 deletions

View File

@@ -29,7 +29,9 @@
#include "common.h"
#include "mathematics.h"
#include "intfloat_readwrite.h"
#include "version.h"
#if FF_API_INTFLOAT
double av_int2dbl(int64_t v){
if((uint64_t)v+v > 0xFFEULL<<52)
return NAN;
@@ -96,3 +98,4 @@ AVExtFloat av_dbl2ext(double d){
ext.exponent[0] |= 0x80;
return ext;
}
#endif /* FF_API_INTFLOAT */