ref: 0d63b5f1926e48ebcc0d7b20e0c748a8c600517a
parent: 5332c2908bdf6af2b7ed769ba8a3ebf0e42bbaf8
parent: f9ed50429dc1ade2dd9d19b77fad1c965ad0ae00
author: Paul Brossier <piem@piem.org>
date: Mon Oct 29 16:54:29 EDT 2018
Merge branch 'fix/warn_old_avutil'
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,17 +1,19 @@
# configuration file for azure continuous integration
jobs:
+
- job: linux
pool:
vmImage: 'Ubuntu 16.04'
-
steps:
- script: |
make
displayName: 'make'
+ env:
+ CFLAGS: -Werror
+
- job: windows
pool:
vmIMage: 'VS2017-Win2016'
-
steps:
- script: |
make
@@ -23,7 +25,6 @@
- job: macos
pool:
vmIMage: macOS-10.13
-
steps:
- script: |
brew update
@@ -33,3 +34,5 @@
- script: |
make
displayName: 'make'
+ env:
+ CFLAGS: -Werror
--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -434,6 +434,8 @@
s->input_channels, s->path);
goto beach;
}
+#else
+#warning "avutil < 53 is deprecated, crashes might occur on corrupt files"
#endif
#ifdef HAVE_AVRESAMPLE