Skip to content

Commit 923e28e

Browse files
committed
fix: replace unsigned __int64 type by cross-platform uint64_t
1 parent cec93d6 commit 923e28e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AvTranscoder/properties/FileProperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ size_t FileProperties::getBitRate() const
210210
return _avFormatContext->bit_rate;
211211
}
212212

213-
unsigned __int64 FileProperties::getFileSize() const
213+
uint64_t FileProperties::getFileSize() const
214214
{
215215
std::ifstream in(getFilename().c_str(), std::ios::binary | std::ios::ate);
216216
return in.tellg();

src/AvTranscoder/properties/FileProperties.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class AvExport FileProperties
4949
double getStartTime() const;
5050
float getDuration() const; ///< in seconds, 0 if not available
5151
size_t getBitRate() const; ///< total stream bitrate in bit/s, 0 if not available (result of a computation by ffmpeg)
52-
unsigned __int64 getFileSize() const; ///< in bytes
52+
uint64_t getFileSize() const; ///< in bytes
5353
size_t getPacketSize() const;
5454

5555
const PropertyVector& getMetadatas() const { return _metadatas; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy