Merge branch 'dev' into longOffsetMode
This commit is contained in:
@@ -74,8 +74,11 @@
|
|||||||
* Enabled for clang & gcc >=4.8 on x86 when BMI2 isn't enabled by default.
|
* Enabled for clang & gcc >=4.8 on x86 when BMI2 isn't enabled by default.
|
||||||
*/
|
*/
|
||||||
#ifndef DYNAMIC_BMI2
|
#ifndef DYNAMIC_BMI2
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) \
|
#if defined(__clang__) \
|
||||||
&& (defined(__x86_64__) || defined(_M_X86)) && !defined(__BMI2__)
|
|| (defined(__GNUC__) \
|
||||||
|
&& (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))) \
|
||||||
|
&& (defined(__x86_64__) || defined(_M_X86)) \
|
||||||
|
&& !defined(__BMI2__)
|
||||||
# define DYNAMIC_BMI2 1
|
# define DYNAMIC_BMI2 1
|
||||||
#else
|
#else
|
||||||
# define DYNAMIC_BMI2 0
|
# define DYNAMIC_BMI2 0
|
||||||
|
|||||||
@@ -1963,6 +1963,7 @@ static void displayInfo(const char* inFileName, const fileInfo_t* info, int disp
|
|||||||
static fileInfo_t FIO_addFInfo(fileInfo_t fi1, fileInfo_t fi2)
|
static fileInfo_t FIO_addFInfo(fileInfo_t fi1, fileInfo_t fi2)
|
||||||
{
|
{
|
||||||
fileInfo_t total;
|
fileInfo_t total;
|
||||||
|
memset(&total, 0, sizeof(total));
|
||||||
total.numActualFrames = fi1.numActualFrames + fi2.numActualFrames;
|
total.numActualFrames = fi1.numActualFrames + fi2.numActualFrames;
|
||||||
total.numSkippableFrames = fi1.numSkippableFrames + fi2.numSkippableFrames;
|
total.numSkippableFrames = fi1.numSkippableFrames + fi2.numSkippableFrames;
|
||||||
total.compressedSize = fi1.compressedSize + fi2.compressedSize;
|
total.compressedSize = fi1.compressedSize + fi2.compressedSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user