better expression

This commit is contained in:
jb-alvarado 2020-04-24 20:08:12 +02:00
parent 7be9a6efa5
commit 78f96cc691

View File

@ -467,8 +467,7 @@ def ffmpeg_libs():
for cfg in configs:
if '--enable-lib' in cfg:
libs.append(cfg.replace('--enable-', ''))
elif re.match(r'^ (\.\.\.|T\.\.|\.S\.|\.\.C|TSC)', line) and \
'=' not in line:
elif re.match(r'^(?!.*=) [TSC.]+', line):
filter_list = line.split()
if len(filter_list) > 3:
filters.append(filter_list[1])