libav: Don't add -Werror=deprecated-declarations

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>
This commit is contained in:
Sebastian Dröge 2024-02-23 11:00:36 +02:00 committed by GStreamer Marge Bot
parent dc8d744789
commit 00bbd6961c

View 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