[FFmpeg-cvslog] wtvdec: use intfloat.h instead of intfloat_readwrite.h

Jean First git at videolan.org
Tue Jan 3 03:59:50 CET 2012


ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Tue Jan  3 00:28:08 2012 +0100| [f2eb2e5c4f1a7b9d2bbc9c25cb979e0fd43dc8e3] | committer: Michael Niedermayer

wtvdec: use intfloat.h instead of intfloat_readwrite.h

Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2eb2e5c4f1a7b9d2bbc9c25cb979e0fd43dc8e3
---

 libavformat/wtvdec.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index cd65ce5..c133d71 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -26,7 +26,7 @@
  */
 
 #include "libavutil/intreadwrite.h"
-#include "libavutil/intfloat_readwrite.h"
+#include "libavutil/intfloat.h"
 #include "avformat.h"
 #include "internal.h"
 #include "wtv.h"
@@ -388,7 +388,7 @@ static void crazytime_to_iso8601(char *buf, int buf_size, int64_t value)
  */
 static int oledate_to_iso8601(char *buf, int buf_size, int64_t value)
 {
-    time_t t = (av_int2dbl(value) - 25569.0) * 86400;
+    time_t t = (av_int2double(value) - 25569.0) * 86400;
     struct tm *result= gmtime(&t);
     if (!result)
         return -1;
@@ -460,7 +460,7 @@ static void get_tag(AVFormatContext *s, AVIOContext *pb, const char *key, int ty
                 return;
             }
         } else if (!strcmp(key, "WM/WMRVBitrate"))
-            snprintf(buf, buf_size, "%f", av_int2dbl(num));
+            snprintf(buf, buf_size, "%f", av_int2double(num));
         else
             snprintf(buf, buf_size, "%"PRIi64, num);
     } else if (type == 5 && length == 2) {



More information about the ffmpeg-cvslog mailing list