diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-12-21 22:54:06 +0100 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-12-26 02:50:00 +0100 |
commit | 86a13bf2ffb40d44260d5747a4782a42a43a1ed8 (patch) | |
tree | cb6310c0db5956b5c8567cd9e99e6c2799ce90e0 /libavformat/internal.h | |
parent | e24f192a9fd6013e272df1bfaeaba31e8ca49f92 (diff) |
lavc, lavf: move avformat static mutex from avcodec to avformat
It's completely absurd that libavcodec would care about libavformat
locking, but it was there because the lock manager was in libavcodec.
This is more stright forward. Changes ABI, but we don't require ABI
compatibility currently.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index e76ac12371..30715b3f50 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -684,4 +684,8 @@ int ff_bprint_to_codecpar_extradata(AVCodecParameters *par, struct AVBPrint *buf int ff_interleaved_peek(AVFormatContext *s, int stream, AVPacket *pkt, int add_offset); + +int ff_lock_avformat(void); +int ff_unlock_avformat(void); + #endif /* AVFORMAT_INTERNAL_H */ |