[FFmpeg-devel] [PATCH 2/2] lavc, lavu: fix two doxy mixup between h/v chroma shift.

Clément Bœsch ubitux at gmail.com
Mon Mar 18 09:05:52 CET 2013


---
 libavcodec/avcodec.h | 4 ++--
 libavutil/pixdesc.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index af62949..df1e247 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4286,8 +4286,8 @@ int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width,
  * pix_fmts.
  *
  * @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
+ * @param[out] v_shift store log2_chroma_h
  *
  * @see av_pix_fmt_get_chroma_sub_sample
  */
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index ca0722e..1042e1e 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -225,8 +225,8 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc);
  * you do check the return code!
  *
  * @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
+ * @param[out] v_shift store log2_chroma_h
  *
  * @return 0 on success, AVERROR(ENOSYS) on invalid or unknown pixel format
  */
-- 
1.8.1.5



More information about the ffmpeg-devel mailing list