summaryrefslogtreecommitdiffstats
path: root/media/base/mock_ffmpeg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/mock_ffmpeg.cc')
-rw-r--r--media/base/mock_ffmpeg.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/media/base/mock_ffmpeg.cc b/media/base/mock_ffmpeg.cc
index 9c30938..0d872068 100644
--- a/media/base/mock_ffmpeg.cc
+++ b/media/base/mock_ffmpeg.cc
@@ -92,16 +92,6 @@ void av_register_all() {
media::MockFFmpeg::get()->AVRegisterAll();
}
-int av_lockmgr_register(int (*cb)(void**, enum AVLockOp)) {
- media::MockFFmpeg* mock = media::MockFFmpeg::get();
- // Here |mock| may be NULL when this function is called from ~FFmpegGlue().
- if (mock != NULL) {
- return media::MockFFmpeg::get()->AVRegisterLockManager(cb);
- } else {
- return 0;
- }
-}
-
AVCodec* avcodec_find_decoder(enum CodecID id) {
return media::MockFFmpeg::get()->AVCodecFindDecoder(id);
}