]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/matroskaenc.c
libavformat: Rename the applehttp protocol to hls
[ffmpeg] / libavformat / matroskaenc.c
index 9f8d5d853b17b227cdf7eb7515044b2042453455..e93dd65dff7429310de09723758a0fc0ab20ae93 100644 (file)
@@ -29,7 +29,7 @@
 #include "avlanguage.h"
 #include "libavutil/samplefmt.h"
 #include "libavutil/intreadwrite.h"
-#include "libavutil/intfloat_readwrite.h"
+#include "libavutil/intfloat.h"
 #include "libavutil/mathematics.h"
 #include "libavutil/random_seed.h"
 #include "libavutil/lfg.h"
@@ -185,7 +185,7 @@ static void put_ebml_float(AVIOContext *pb, unsigned int elementid, double val)
 {
     put_ebml_id(pb, elementid);
     put_ebml_num(pb, 8, 0);
-    avio_wb64(pb, av_dbl2int(val));
+    avio_wb64(pb, av_double2int(val));
 }
 
 static void put_ebml_binary(AVIOContext *pb, unsigned int elementid,