Browse Source

pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()

The parameters in the docs are currently swapped.
tags/n3.0
Anton Khirnov 9 years ago
parent
commit
d336bfcf69
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavutil/pixdesc.h

+ 2
- 2
libavutil/pixdesc.h View File

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


Loading…
Cancel
Save