diff options
author | Martin Storsjö <martin@martin.st> | 2011-10-30 01:20:15 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-05 12:08:53 +0200 |
commit | 2d1b6fb72bd3d37798d448ba32ba85ee0eabd9e3 (patch) | |
tree | fea1310ec13caea957bd5ed593ce6b05e0835a36 /libavcodec/internal.h | |
parent | f6d371009678e46877e6f81ab0eae475d41b1f57 (diff) | |
download | ffmpeg-2d1b6fb72bd3d37798d448ba32ba85ee0eabd9e3.tar.gz |
avcodec: Allow locking and unlocking an avformat specific mutex
This extends the lock manager in avcodec to manage two separate
mutexes via the user-specified lock functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index e676148d75..54d57d2bec 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -55,4 +55,7 @@ int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b); unsigned int avpriv_toupper4(unsigned int x); +int avpriv_lock_avformat(void); +int avpriv_unlock_avformat(void); + #endif /* AVCODEC_INTERNAL_H */ |