summaryrefslogtreecommitdiff
path: root/libavformat/cafenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-23 17:18:13 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-23 17:18:13 +0100
commita6ef7b3a773ea79e725f9fe60b718f6db3bc83a6 (patch)
tree7c0ca97f88451fc6fa9924bd87cb784ee50b3d2d /libavformat/cafenc.c
parentb9db728a1fcd8fbf4d99c4c6aeeb2f9be43772e8 (diff)
downloadffmpeg-a6ef7b3a773ea79e725f9fe60b718f6db3bc83a6.tar.gz
cafenc: replace deprecated av_dbl2int()
Diffstat (limited to 'libavformat/cafenc.c')
-rw-r--r--libavformat/cafenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafenc.c b/libavformat/cafenc.c
index 699c67df7a..c34705636d 100644
--- a/libavformat/cafenc.c
+++ b/libavformat/cafenc.c
@@ -24,7 +24,7 @@
#include "riff.h"
#include "isom.h"
#include "avio_internal.h"
-#include "libavutil/intfloat_readwrite.h"
+#include "libavutil/intfloat.h"
typedef struct {
int64_t data;
@@ -144,7 +144,7 @@ static int caf_write_header(AVFormatContext *s)
ffio_wfourcc(pb, "desc"); //< Audio Description chunk
avio_wb64(pb, 32); //< mChunkSize
- avio_wb64(pb, av_dbl2int(enc->sample_rate)); //< mSampleRate
+ avio_wb64(pb, av_double2int(enc->sample_rate)); //< mSampleRate
avio_wl32(pb, codec_tag); //< mFormatID
avio_wb32(pb, codec_flags(enc->codec_id)); //< mFormatFlags
avio_wb32(pb, enc->block_align); //< mBytesPerPacket