]> granicus.if.org Git - libvpx/blobdiff - vpxdec.c
TODO cleanup: Remove unused buffer_size
[libvpx] / vpxdec.c
index 285d58e1e7662a46895528436b676739ef8e53b8..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,