Commit c7b7b1da authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Using size_t for memory buffer size.

Change-Id: Ibf1642525731c66c99fa25f95c7b5834ae88c688
parent 682c2723
...@@ -40,7 +40,7 @@ typedef enum { ...@@ -40,7 +40,7 @@ typedef enum {
void vp9_initialize_dec(); void vp9_initialize_dec();
int vp9_receive_compressed_data(VP9D_PTR comp, int vp9_receive_compressed_data(VP9D_PTR comp,
uint64_t size, const uint8_t **dest, size_t size, const uint8_t **dest,
int64_t time_stamp); int64_t time_stamp);
int vp9_get_raw_frame(VP9D_PTR comp, YV12_BUFFER_CONFIG *sd, int vp9_get_raw_frame(VP9D_PTR comp, YV12_BUFFER_CONFIG *sd,
......
...@@ -277,7 +277,7 @@ static void swap_frame_buffers(VP9D_COMP *pbi) { ...@@ -277,7 +277,7 @@ static void swap_frame_buffers(VP9D_COMP *pbi) {
} }
int vp9_receive_compressed_data(VP9D_PTR ptr, int vp9_receive_compressed_data(VP9D_PTR ptr,
uint64_t size, const uint8_t **psource, size_t size, const uint8_t **psource,
int64_t time_stamp) { int64_t time_stamp) {
VP9D_COMP *pbi = (VP9D_COMP *) ptr; VP9D_COMP *pbi = (VP9D_COMP *) ptr;
VP9_COMMON *cm = &pbi->common; VP9_COMMON *cm = &pbi->common;
......
...@@ -25,7 +25,7 @@ typedef struct VP9Decompressor { ...@@ -25,7 +25,7 @@ typedef struct VP9Decompressor {
VP9D_CONFIG oxcf; VP9D_CONFIG oxcf;
const uint8_t *source; const uint8_t *source;
uint32_t source_sz; size_t source_sz;
int64_t last_time_stamp; int64_t last_time_stamp;
int ready_for_new_data; int ready_for_new_data;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment