summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-07-06 03:01:41 +0200
committerGravatar waker <wakeroid@gmail.com>2009-07-06 03:01:41 +0200
commitd05d431ebad5767f3afa9b6c76639e83233e2d9c (patch)
tree0ab32f81a39f5ce3fab292892aee97ee1f85e6c5 /codec.h
parentb7a872069ad3990b65d8ebe6d53de8768841980f (diff)
fixed inter-thread conflict for codec access
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/codec.h b/codec.h
index 5a33590a..56033e94 100644
--- a/codec.h
+++ b/codec.h
@@ -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