Check for patched version of FFmpeg before using extra functions (#773).
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 4bae748e0e376b3139c5c821a7757d60c262862b..9bee9b4973a75f8ccd920934586c4620ada62591 100644 (file)
--- a/cscript
+++ b/cscript
@@ -278,9 +278,9 @@ def dependencies(target):
     else:
         ffmpeg_options = {}
 
-    return (('ffmpeg-cdist', '938d9af', ffmpeg_options),
-            ('libdcp', '257b936'),
-            ('libsub', 'e281262'))
+    return (('ffmpeg-cdist', 'b559555', ffmpeg_options),
+            ('libdcp', 'fb03c08'),
+            ('libsub', 'f368daf'))
 
 def configure_options(target):
     opt = ''
@@ -289,7 +289,7 @@ def configure_options(target):
     if target.platform == 'windows':
         opt += ' --target-windows'
     elif target.platform == 'linux':
-        opt += ' --static-dcpomatic --static-openjpeg --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
+        opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
         if target.distro == 'centos':
             opt += ' --static-xmlsec --static-ssh --disable-tests'
             if target.version == '6.5':