2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

libmpg123, libfaad and libmp4ff added to os x build

This commit is contained in:
John Preston
2015-05-24 21:39:07 +03:00
parent e3ab8821b9
commit 53c536d76d
3 changed files with 16 additions and 3 deletions

View File

@@ -987,7 +987,7 @@ trackId(-1), sampleId(0), samplesCount(0) {
}
uint32 delay = 0;
if (initial && (sample_count < framesize * frameInfo.channels) && (frameInfo.samples > sample_count)) {
if (initial && (sample_count < framesize * uint32(frameInfo.channels)) && (frameInfo.samples > sample_count)) {
delay = frameInfo.samples - sample_count;
}
@@ -1027,7 +1027,8 @@ private:
mp4ff_callback_t mp4cb;
bool initial, useAacLength;
int32 framesize, timescale;
uint32 framesize;
int32 timescale;
int32 trackId, sampleId, samplesCount;
int32 getAACTrack() {

View File

@@ -36,7 +36,7 @@ enum VoiceMessageState {
};
class VoiceMessagesFader;
class VoiceMessagesLoader;
class VoiceMessagesLoaders;
class VoiceMessages : public QObject {
Q_OBJECT