libav: Don't add `-Werror=deprecated-declarations`
authorSebastian Dröge <sebastian@centricular.com>
Fri, 23 Feb 2024 09:00:36 +0000 (11:00 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 23 Feb 2024 13:24:22 +0000 (13:24 +0000)
It will fail the build for anybody who has an older FFmpeg version
than 6.1 and doesn't use the FFmpeg subproject.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6199>

subprojects/gst-libav/meson.build

index 556a84a2a736bb573860d0dab947bb862f70dcaa..81495f59d6e4afce96b273f8229a708d4aa428cb 100644 (file)
@@ -212,7 +212,6 @@ warning_flags = [
   '-Waggregate-return',
   '-Wvla',
   '-Wpointer-arith',
-  '-Werror=deprecated-declarations' # to fail on FFmpeg deprecated usage
 ]
 
 foreach extra_arg : warning_flags