aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-05-10 21:56:35 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-05-13 20:53:24 +0200
commitd90ba411aba28ebaced788f0810e082d9525bc13 (patch)
tree1accd2add4757bb6d95a0ed78c54d7ffedf5fe95 /libavcodec
parent76581ab833872abf5fd4105d6345d982b27969a4 (diff)
downloadffmpeg-d90ba411aba28ebaced788f0810e082d9525bc13.tar.gz
dpx: use intfloat.h instead of deprecated intfloat_readwrite.h.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dpx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index bbb06d2724..a21362eb11 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_int2float(i), 4096);
if (q.num > 0 && q.den > 0)
avctx->time_base = av_inv_q(q);
}