FFmpegSource2: more portability
Originally committed to SVN as r2356.
This commit is contained in:
parent
78d4c92a89
commit
58df7f8a75
3 changed files with 0 additions and 15 deletions
|
@ -27,11 +27,6 @@
|
||||||
#include "indexing.h"
|
#include "indexing.h"
|
||||||
#include "wave64writer.h"
|
#include "wave64writer.h"
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
# define _ftelli64 ftello
|
|
||||||
# define _fseeki64 fseeko
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class AudioContext {
|
class AudioContext {
|
||||||
public:
|
public:
|
||||||
Wave64Writer *W64W;
|
Wave64Writer *W64W;
|
||||||
|
|
|
@ -20,11 +20,6 @@
|
||||||
|
|
||||||
#include "stdiostream.h"
|
#include "stdiostream.h"
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
# define _ftelli64 ftello
|
|
||||||
# define _fseeki64 fseeko
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* StdIoStream methods */
|
/* StdIoStream methods */
|
||||||
|
|
||||||
/* read count bytes into buffer starting at file position pos
|
/* read count bytes into buffer starting at file position pos
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
# define _ftelli64 ftello
|
|
||||||
# define _fseeki64 fseeko
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int GetCPUFlags() {
|
int GetCPUFlags() {
|
||||||
int CPUInfo[4];
|
int CPUInfo[4];
|
||||||
__cpuid(CPUInfo, 0);
|
__cpuid(CPUInfo, 0);
|
||||||
|
|
Loading…
Reference in a new issue