]> granicus.if.org Git - libvpx/blobdiff - vpxdec.c
TODO cleanup: Remove unused buffer_size
[libvpx] / vpxdec.c
index fde3b9a0b87efa030418814c60f364318de6c414..1bef4bd4aae0a4ce0d6e909200358d4ceb4d60b5 100644 (file)
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -257,8 +257,7 @@ static int read_frame(struct VpxDecInputContext *input, uint8_t **buf,
   switch (input->vpx_input_ctx->file_type) {
 #if CONFIG_WEBM_IO
     case FILE_TYPE_WEBM:
-      return webm_read_frame(input->webm_ctx,
-                             buf, bytes_in_buffer, buffer_size);
+      return webm_read_frame(input->webm_ctx, buf, bytes_in_buffer);
 #endif
     case FILE_TYPE_RAW:
       return raw_read_frame(input->vpx_input_ctx->file,
@@ -562,7 +561,7 @@ static int main_loop(int argc, const char **argv_) {
   int                     opt_i420 = 0;
   vpx_codec_dec_cfg_t     cfg = {0, 0, 0};
 #if CONFIG_VP9_HIGHBITDEPTH
-  int                     output_bit_depth = 0;
+  unsigned int            output_bit_depth = 0;
 #endif
 #if CONFIG_VP8_DECODER
   vp8_postproc_cfg_t      vp8_pp_cfg = {0};