Browse code

wtvdec: use intfloat.h instead of intfloat_readwrite.h

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

Jean First authored on 2012/01/03 08:28:08
Showing 1 changed files
... ...
@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #include "libavutil/intreadwrite.h"
29
-#include "libavutil/intfloat_readwrite.h"
29
+#include "libavutil/intfloat.h"
30 30
 #include "avformat.h"
31 31
 #include "internal.h"
32 32
 #include "wtv.h"
... ...
@@ -388,7 +388,7 @@ static void crazytime_to_iso8601(char *buf, int buf_size, int64_t value)
388 388
  */
389 389
 static int oledate_to_iso8601(char *buf, int buf_size, int64_t value)
390 390
 {
391
-    time_t t = (av_int2dbl(value) - 25569.0) * 86400;
391
+    time_t t = (av_int2double(value) - 25569.0) * 86400;
392 392
     struct tm *result= gmtime(&t);
393 393
     if (!result)
394 394
         return -1;
... ...
@@ -460,7 +460,7 @@ static void get_tag(AVFormatContext *s, AVIOContext *pb, const char *key, int ty
460 460
                 return;
461 461
             }
462 462
         } else if (!strcmp(key, "WM/WMRVBitrate"))
463
-            snprintf(buf, buf_size, "%f", av_int2dbl(num));
463
+            snprintf(buf, buf_size, "%f", av_int2double(num));
464 464
         else
465 465
             snprintf(buf, buf_size, "%"PRIi64, num);
466 466
     } else if (type == 5 && length == 2) {