diff options
author | Vignesh Venkatasubramanian <vigneshv@google.com> | 2016-04-25 13:46:42 -0700 |
---|---|---|
committer | Vignesh Venkatasubramanian <vigneshv@google.com> | 2016-04-26 22:40:37 -0700 |
commit | fa99c376e509ef52ed8370019538b23e76477ddb (patch) | |
tree | 8c3b0dbac4523ccb5c53ed0cfbef4753b84a8db9 /webmdec.h | |
parent | ef4a132cc4001bbc333fab24025661afd24dffd2 (diff) | |
download | libvpx-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 'webmdec.h')
-rw-r--r-- | webmdec.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -42,13 +42,12 @@ int file_is_webm(struct WebmInputContext *webm_ctx, // Reads a WebM Video Frame. Memory for the buffer is created, owned and managed // by this function. For the first call, |buffer| should be NULL and -// |*bytes_in_buffer| should be 0. Once all the frames are read and used, +// |*buffer_size| should be 0. Once all the frames are read and used, // webm_free() should be called, otherwise there will be a leak. // Parameters: // webm_ctx - WebmInputContext object // buffer - pointer where the frame data will be filled. -// bytes_in_buffer - pointer to buffer size. -// buffer_size - unused TODO(vigneshv): remove this +// buffer_size - pointer to buffer size. // Return values: // 0 - Success // 1 - End of Stream @@ -57,7 +56,6 @@ int file_is_webm(struct WebmInputContext *webm_ctx, // this file. int webm_read_frame(struct WebmInputContext *webm_ctx, uint8_t **buffer, - size_t *bytes_in_buffer, size_t *buffer_size); // Guesses the frame rate of the input file based on the container timestamps. |