diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-11 16:11:02 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-11 16:11:02 +0100 |
commit | c5c4e089f6939ac0e895a30976d6ebf12980b13f (patch) | |
tree | 1be21e99287daa53419468518ca0e8a0004fd31a | |
parent | 2285fef4c52dabab97d44a3f102889c0cde5165a (diff) | |
download | ODR-AudioEnc-c5c4e089f6939ac0e895a30976d6ebf12980b13f.tar.gz ODR-AudioEnc-c5c4e089f6939ac0e895a30976d6ebf12980b13f.tar.bz2 ODR-AudioEnc-c5c4e089f6939ac0e895a30976d6ebf12980b13f.zip |
Fix VLC version check
-rw-r--r-- | src/VLCInput.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 70af724..ae7356f 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -560,7 +560,10 @@ vlc_data_type_e check_vlc_uses_size_t() if (minor_ver_sz) { int minor_ver = atoi(minor_ver_sz); - if (major_ver >= 2 && minor_ver >= 2) { + if (major_ver > 2) { + return vlc_data_type_e::vlc_uses_size_t; + } + else if (major_ver >= 2 && minor_ver >= 2) { return vlc_data_type_e::vlc_uses_size_t; } else { |