Skip to content

Commit 10985bd

Browse files
committed
refactoring: add Note to getFileSize explaining why using uint64_t
1 parent 923e28e commit 10985bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AvTranscoder/properties/FileProperties.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ 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+
/**
53+
* @note Use uint64_t instead of size_t to ensure 64 bits size on 32-bits OS so we can manage Files > 4Go
54+
*/
5255
uint64_t getFileSize() const; ///< in bytes
5356
size_t getPacketSize() const;
5457

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