On 21/01/16 13:29, Anton Khirnov wrote:
> The parameters in the docs are currently swapped.
> ---
>  libavutil/pixdesc.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
> index fe06d94..aea1e38 100644
> --- a/libavutil/pixdesc.h
> +++ b/libavutil/pixdesc.h
> @@ -268,8 +268,8 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const 
> AVPixFmtDescriptor *desc);
>   * the pixel format AVPixFmtDescriptor.
>   *
>   * @param[in]  pix_fmt the pixel format
> - * @param[out] h_shift store log2_chroma_h
> - * @param[out] v_shift store log2_chroma_w
> + * @param[out] h_shift store log2_chroma_w (horizontal/width shift)
> + * @param[out] v_shift store log2_chroma_h (vertical/height shift)
>   *
>   * @return 0 on success, AVERROR(ENOSYS) on invalid or unknown pixel format
>   */
> 

Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to