summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 028e3614ff..daf2c8694e 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -75,12 +75,12 @@
75#define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ 75#define CODEC_ENC_MAGIC 0x52454E43 /* RENC */
76 76
77/* increase this every time the api struct changes */ 77/* increase this every time the api struct changes */
78#define CODEC_API_VERSION 39 78#define CODEC_API_VERSION 40
79 79
80/* update this to latest version if a change to the api struct breaks 80/* update this to latest version if a change to the api struct breaks
81 backwards compatibility (and please take the opportunity to sort in any 81 backwards compatibility (and please take the opportunity to sort in any
82 new function which are "waiting" at the end of the function table) */ 82 new function which are "waiting" at the end of the function table) */
83#define CODEC_MIN_API_VERSION 39 83#define CODEC_MIN_API_VERSION 40
84 84
85/* codec return codes */ 85/* codec return codes */
86enum codec_status { 86enum codec_status {
@@ -134,8 +134,6 @@ struct codec_api {
134 void* (*request_buffer)(size_t *realsize, size_t reqsize); 134 void* (*request_buffer)(size_t *realsize, size_t reqsize);
135 /* Advance file buffer position by <amount> amount of bytes. */ 135 /* Advance file buffer position by <amount> amount of bytes. */
136 void (*advance_buffer)(size_t amount); 136 void (*advance_buffer)(size_t amount);
137 /* Advance file buffer to a pointer location inside file buffer. */
138 void (*advance_buffer_loc)(void *ptr);
139 /* Seek file buffer to position <newpos> beginning of file. */ 137 /* Seek file buffer to position <newpos> beginning of file. */
140 bool (*seek_buffer)(size_t newpos); 138 bool (*seek_buffer)(size_t newpos);
141 /* Codec should call this function when it has done the seeking. */ 139 /* Codec should call this function when it has done the seeking. */