diff options
author | waker <wakeroid@gmail.com> | 2009-07-06 03:01:41 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-07-06 03:01:41 +0200 |
commit | d05d431ebad5767f3afa9b6c76639e83233e2d9c (patch) | |
tree | 0ab32f81a39f5ce3fab292892aee97ee1f85e6c5 /codec.h | |
parent | b7a872069ad3990b65d8ebe6d53de8768841980f (diff) |
fixed inter-thread conflict for codec access
Diffstat (limited to 'codec.h')
-rw-r--r-- | codec.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -22,4 +22,16 @@ typedef struct codec_s { codec_t *get_codec_for_file (const char *fname); +void +codec_init_locking (void); + +void +codec_free_locking (void); + +void +codec_lock (void); + +void +codec_unlock (void); + #endif // __CODEC_H |