[FFmpeg-devel] [PATCH] dpx: use intfloat.h instead of deprecated intfloat_readwrite.h.

Michael Niedermayer michaelni at gmx.at
Sun May 11 03:33:02 CEST 2014


On Sat, May 10, 2014 at 09:57:12PM +0200, Reimar Döffinger wrote:
> ---
>  libavcodec/dpx.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
> index bbb06d2..b170411 100644
> --- a/libavcodec/dpx.c
> +++ b/libavcodec/dpx.c
> @@ -20,7 +20,7 @@
>   */
>  
>  #include "libavutil/intreadwrite.h"
> -#include "libavutil/intfloat_readwrite.h"
> +#include "libavutil/intfloat.h"
>  #include "libavutil/imgutils.h"
>  #include "bytestream.h"
>  #include "avcodec.h"
> @@ -151,7 +151,7 @@ static int decode_frame(AVCodecContext *avctx,
>          buf = avpkt->data + 1724;
>          i = read32(&buf, endian);
>          if(i) {
> -            AVRational q = av_d2q(av_int2flt(i), 4096);
> +            AVRational q = av_d2q(av_int2floatt(i), 4096);

are you sure its written with 2 t ?

[...]

-- 
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: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140511/8d09f4f6/attachment.asc>


More information about the ffmpeg-devel mailing list