# include "config.h"
#endif
+#define __STDC_CONSTANT_MACROS 1
+#include <stdint.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
break;
}
case STREAM_GET_PTS_DELAY:
- *va_arg (args, int64_t *) =
+ *va_arg (args, int64_t *) = INT64_C(1000) *
var_InheritInteger(p_stream, "network-caching");
break;
*(va_arg (args, uint64_t *)) = GetStreamSize(s);
break;
case STREAM_GET_PTS_DELAY:
- *va_arg (args, int64_t *) =
+ *va_arg (args, int64_t *) = INT64_C(1000) *
var_InheritInteger(s, "network-caching");
break;
default:
*(va_arg( args, uint64_t * )) = FAKE_STREAM_SIZE;
break;
case STREAM_GET_PTS_DELAY:
- *va_arg (args, int64_t *) =
+ *va_arg (args, int64_t *) = INT64_C(1000) *
var_InheritInteger(s, "network-caching");
break;
default: