# HG changeset patch # User michael # Date 1121783123 0 # Node ID 747f816cee69b7c812721948cc1c679cc154842a # Parent bf5c4e9dc75a8031ea48e5b78386387ff6afeb5e portable IEEE float/double read/write functions diff -r bf5c4e9dc75a -r 747f816cee69 avcodec.h --- a/avcodec.h Tue Jul 19 13:29:13 2005 +0000 +++ b/avcodec.h Tue Jul 19 14:25:23 2005 +0000 @@ -17,7 +17,7 @@ #define FFMPEG_VERSION_INT 0x000409 #define FFMPEG_VERSION "CVS" -#define LIBAVCODEC_BUILD 4758 +#define LIBAVCODEC_BUILD 4759 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT @@ -2332,6 +2332,12 @@ */ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq); +double av_int2dbl(int64_t v); +float av_int2flt(int32_t v); +int64_t av_dbl2int(double d); +int32_t av_flt2int(float d); + + /* frame parsing */ typedef struct AVCodecParserContext { void *priv_data;