From ddf40ec156ed3665382576e8846a6341782eb4c4 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 29 Jan 2018 15:13:09 -0800 Subject: [PATCH] Fix doc comment mismatch in vpx_frame_buffer.h When compiling an app using libvpx in Xcode 9.2, a warning is thrown in vpx_frame_buffer.h: "Parameter 'new_size' not found in the function declaration" Switching it to 'min_size' to match the comment text and the callback type definition prototype resolves it. Change-Id: I7a3e4a857c2007c2d0d390e22054d7bc85068aa1 --- vpx/vpx_frame_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpx/vpx_frame_buffer.h b/vpx/vpx_frame_buffer.h index ad70cdd57..ac17c529d 100644 --- a/vpx/vpx_frame_buffer.h +++ b/vpx/vpx_frame_buffer.h @@ -57,7 +57,7 @@ typedef struct vpx_codec_frame_buffer { * return 0. Any failure the callback must return a value less than 0. * * \param[in] priv Callback's private data - * \param[in] new_size Size in bytes needed by the buffer + * \param[in] min_size Size in bytes needed by the buffer * \param[in,out] fb Pointer to vpx_codec_frame_buffer_t */ typedef int (*vpx_get_frame_buffer_cb_fn_t)(void *priv, size_t min_size,