Module: libav
Branch: master
Commit: d336bfcf69fee159e9dba5e5e486ddb1aba61aab

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Thu Jan 21 13:28:42 2016 +0100

pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()

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
  */

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

Reply via email to