summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp5
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 {