[1/3] opt: Fix a typo in av_opt_get* doxy

Message ID 1449560533-29152-1-git-send-email-martin@martin.st
State New
Headers show

Commit Message

Martin Storsjö Dec. 8, 2015, 7:42 a.m.
From: Stefano Sabatini <stefasab@gmail.com>

---
 libavutil/opt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Barbato Dec. 8, 2015, 10:02 a.m. | #1
On 08/12/15 08:42, Martin Storsjö wrote:
> From: Stefano Sabatini <stefasab@gmail.com>
> 
> ---
>  libavutil/opt.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/opt.h b/libavutil/opt.h
> index 8413206..6d3f1fe 100644
> --- a/libavutil/opt.h
> +++ b/libavutil/opt.h
> @@ -519,7 +519,7 @@ int av_opt_set_dict_val(void *obj, const char *name, const AVDictionary *val, in
>   * @return 0 on success, a negative error code otherwise
>   */
>  /**
> - * @note the returned string will av_malloc()ed and must be av_free()ed by the caller
> + * @note the returned string will be av_malloc()ed and must be av_free()ed by the caller
>   */
>  int av_opt_get         (void *obj, const char *name, int search_flags, uint8_t   **out_val);
>  int av_opt_get_int     (void *obj, const char *name, int search_flags, int64_t    *out_val);
> 

Sure, why not?

Patch

diff --git a/libavutil/opt.h b/libavutil/opt.h
index 8413206..6d3f1fe 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -519,7 +519,7 @@  int av_opt_set_dict_val(void *obj, const char *name, const AVDictionary *val, in
  * @return 0 on success, a negative error code otherwise
  */
 /**
- * @note the returned string will av_malloc()ed and must be av_free()ed by the caller
+ * @note the returned string will be av_malloc()ed and must be av_free()ed by the caller
  */
 int av_opt_get         (void *obj, const char *name, int search_flags, uint8_t   **out_val);
 int av_opt_get_int     (void *obj, const char *name, int search_flags, int64_t    *out_val);