Silence deprecation warning for av_lockmgr_register

It should not be used anymore - see
https://webrtc-review.googlesource.com/39503
but it can be removed only after the DEPS roll.

Bug: webrtc:8745
Change-Id: I1ee29948e99be6cb4a700b67d37f72a0747a9fc5
Reviewed-on: https://webrtc-review.googlesource.com/39505
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21612}
This commit is contained in:
Oleh Prypin 2018-01-15 09:44:18 +01:00 committed by Commit Bot
parent 8cf45e99c5
commit 2b82ee7a01

View File

@ -255,6 +255,11 @@ rtc_static_library("webrtc_h264") {
"//third_party/ffmpeg:ffmpeg",
"//third_party/openh264:encoder",
]
# TODO(bugs.webrtc.org/8745): stop using av_lockmgr_register
if (!is_win) {
cflags = [ "-Wno-deprecated-declarations" ]
}
}
}