[FFmpeg-devel] [PATCH 1/2] lavu/internal: Fix comment for avpriv_dict_set_timestamp

James Almer jamrial at gmail.com
Tue Jun 9 17:20:58 EEST 2020


On 6/9/2020 10:48 AM, Jun Zhao wrote:
> From: Jun Zhao <barryjzhao at tencent.com>
> 
> Fix comment for avpriv_dict_set_timestamp from b72a7b96f84
> 
> Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> ---
>  libavutil/internal.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavutil/internal.h b/libavutil/internal.h
> index 4acbcf5..50ba73d 100644
> --- a/libavutil/internal.h
> +++ b/libavutil/internal.h
> @@ -353,7 +353,8 @@ void ff_check_pixfmt_descriptors(void);
>  /**
>   * Set a dictionary value to an ISO-8601 compliant timestamp string.
>   *
> - * @param s AVFormatContext
> + * @param dict pointer to a pointer to a dictionary struct. If *dict is NULL
> + * a dictionary struct is allocated and put in *dict.

Vertical alignment if you use more than one line. this line should start
where "pointer" is.

>   * @param key metadata key
>   * @param timestamp unix timestamp in microseconds
>   * @return <0 on error
> 



More information about the ffmpeg-devel mailing list