diff options
| author | jvoisin | 2018-10-22 13:42:04 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-22 13:42:04 +0200 |
| commit | 83389a63e9b3e145f527cccf583b30bbe1993f4c (patch) | |
| tree | cead9df89950e5c8c135043840fcc6d85777959e /libmat2 | |
| parent | e70ea811c99c16f3382c08153eda573df0825536 (diff) | |
Test mat2's reliability wrt. corrupted video files
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/video.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmat2/video.py b/libmat2/video.py index b9f3687..658affa 100644 --- a/libmat2/video.py +++ b/libmat2/video.py | |||
| @@ -43,9 +43,8 @@ class AVIParser(exiftool.ExiftoolParser): | |||
| 43 | 43 | ||
| 44 | try: | 44 | try: |
| 45 | subprocess.check_call(cmd) | 45 | subprocess.check_call(cmd) |
| 46 | except subprocess.CalledProcessError: # pragma: no cover | 46 | except subprocess.CalledProcessError: |
| 47 | return False | 47 | return False |
| 48 | |||
| 49 | return True | 48 | return True |
| 50 | 49 | ||
| 51 | 50 | ||
