summaryrefslogtreecommitdiff
path: root/vpxdec.c
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2016-04-25 13:46:42 -0700
committerVignesh Venkatasubramanian <vigneshv@google.com>2016-04-26 22:40:37 -0700
commitfa99c376e509ef52ed8370019538b23e76477ddb (patch)
tree8c3b0dbac4523ccb5c53ed0cfbef4753b84a8db9 /vpxdec.c
parentef4a132cc4001bbc333fab24025661afd24dffd2 (diff)
downloadlibvpx-fa99c376e509ef52ed8370019538b23e76477ddb.tar.gz
TODO cleanup: Remove unused buffer_size
Remove unused variable buffer_size and rename bytes_in_buffer to buffer_size in webm_read_frame. Change-Id: I18b6ccbb044cd366610a5e39d83883cc0b174051
Diffstat (limited to 'vpxdec.c')
-rw-r--r--vpxdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vpxdec.c b/vpxdec.c
index 285d58e1e..1bef4bd4a 100644
--- 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,