[FFmpeg-cvslog] Fix some mismatches between function parameter and doxygen parameter names.

Diego Biurrun git at videolan.org
Mon Apr 3 21:42:45 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Nov  9 22:09:38 2016 +0100| [a1d9de304fe63614e3aa8117fef17491fa80093d] | committer: Diego Biurrun

Fix some mismatches between function parameter and doxygen parameter names.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1d9de304fe63614e3aa8117fef17491fa80093d
---

 libavcodec/avcodec.h       | 2 +-
 libavresample/avresample.h | 4 ++--
 libavutil/hwcontext.h      | 2 +-
 libavutil/imgutils.h       | 4 ++--
 libavutil/stereo3d.h       | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a004e6b..e75d300 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3838,7 +3838,7 @@ AVPacket *av_packet_clone(const AVPacket *src);
  * Free the packet, if the packet is reference counted, it will be
  * unreferenced first.
  *
- * @param packet packet to be freed. The pointer will be set to NULL.
+ * @param pkt packet to be freed. The pointer will be set to NULL.
  * @note passing NULL is a no-op.
  */
 void av_packet_free(AVPacket **pkt);
diff --git a/libavresample/avresample.h b/libavresample/avresample.h
index c66798c..3f9b943 100644
--- a/libavresample/avresample.h
+++ b/libavresample/avresample.h
@@ -490,8 +490,8 @@ int avresample_convert_frame(AVAudioResampleContext *avr,
  * @see avresample_close();
  *
  * @param avr             audio resample context
- * @param output          output AVFrame
- * @param input           input AVFrame
+ * @param out             output AVFrame
+ * @param in              input AVFrame
  * @return                0 on success, AVERROR on failure.
  */
 int avresample_config(AVAudioResampleContext *avr, AVFrame *out, AVFrame *in);
diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h
index 4067ff1..1181659 100644
--- a/libavutil/hwcontext.h
+++ b/libavutil/hwcontext.h
@@ -418,7 +418,7 @@ void *av_hwdevice_hwconfig_alloc(AVBufferRef *device_ctx);
  * configuration is provided, returns the maximum possible capabilities
  * of the device.
  *
- * @param device_ctx a reference to the associated AVHWDeviceContext.
+ * @param ref a reference to the associated AVHWDeviceContext.
  * @param hwconfig a filled HW-specific configuration structure, or NULL
  *        to return the maximum possible capabilities of the device.
  * @return AVHWFramesConstraints structure describing the constraints
diff --git a/libavutil/imgutils.h b/libavutil/imgutils.h
index f98a18f..67063a2 100644
--- a/libavutil/imgutils.h
+++ b/libavutil/imgutils.h
@@ -152,7 +152,7 @@ void av_image_copy_uc_from(uint8_t *dst_data[4],       const ptrdiff_t dst_lines
  * one call, use av_image_alloc().
  *
  * @param dst_data      data pointers to be filled in
- * @param dst_linesizes linesizes for the image in dst_data to be filled in
+ * @param dst_linesize  linesizes for the image in dst_data to be filled in
  * @param src           buffer which will contain or contains the actual image data, can be NULL
  * @param pix_fmt       the pixel format of the image
  * @param width         the width of the image in pixels
@@ -182,7 +182,7 @@ int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height,
  * @param dst           a buffer into which picture data will be copied
  * @param dst_size      the size in bytes of dst
  * @param src_data      pointers containing the source image data
- * @param src_linesizes linesizes for the image in src_data
+ * @param src_linesize  linesizes for the image in src_data
  * @param pix_fmt       the pixel format of the source image
  * @param width         the width of the source image in pixels
  * @param height        the height of the source image in pixels
diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h
index aea1b70..28156fc 100644
--- a/libavutil/stereo3d.h
+++ b/libavutil/stereo3d.h
@@ -161,7 +161,7 @@ const char *av_stereo3d_type_name(unsigned int type);
 /**
  * Get the AVStereo3DType form a human-readable name.
  *
- * @param type The input string.
+ * @param name The input string.
  *
  * @return The AVStereo3DType value, or -1 if not found.
  */



More information about the ffmpeg-cvslog mailing list