[ffmpeg] Improve version check and call it from hls (Fixes #4377)

This commit is contained in:
Philipp Hagemeister 2014-12-06 12:14:26 +01:00
parent f6735be4da
commit 5f9b83944d
4 changed files with 14 additions and 4 deletions

View file

@ -1502,7 +1502,7 @@ def limit_length(s, length):
def version_tuple(v):
return [int(e) for e in v.split('.')]
return tuple(int(e) for e in re.split(r'[-.]', v))
def is_outdated_version(version, limit, assume_new=True):