]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/4xm.c
mp3enc: fix playback with mp3 encoded files on some devices.
[ffmpeg] / libavformat / 4xm.c
index 03ce4ca056932c1aada5ed82aa5e427b9be25a65..3d9c5aea12908347dd23f7bc3298810f7aaff04d 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 #include "libavutil/intreadwrite.h"
-#include "libavutil/intfloat_readwrite.h"
+#include "libavutil/intfloat.h"
 #include "avformat.h"
 #include "internal.h"
 
@@ -131,7 +131,7 @@ static int fourxm_read_header(AVFormatContext *s,
         size = AV_RL32(&header[i + 4]);
 
         if (fourcc_tag == std__TAG) {
-            fourxm->fps = av_int2flt(AV_RL32(&header[i + 12]));
+            fourxm->fps = av_int2float(AV_RL32(&header[i + 12]));
         } else if (fourcc_tag == vtrk_TAG) {
             /* check that there is enough data */
             if (size != vtrk_SIZE) {