]> git.sesse.net Git - ffmpeg/commitdiff
hwcontext: Fix documentation for av_hwdevice_ctx_alloc()
authorJun Zhao <jun.zhao@intel.com>
Sun, 19 Mar 2017 07:44:46 +0000 (15:44 +0800)
committerMark Thompson <sw@jkqxz.net>
Sun, 4 Feb 2018 13:47:19 +0000 (13:47 +0000)
From ffmpeg commit 9365dfcbf665b83b2e60c5ec5e2abf1f0a49e2c3.

Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavutil/hwcontext.h

index 203ea510ec6295c368b9c64bca5d0586e4e52eec..ba293d72e5816dee4bb75f811458364ce6ee6d6d 100644 (file)
@@ -252,8 +252,9 @@ const char *av_hwdevice_get_type_name(enum AVHWDeviceType type);
 enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev);
 
 /**
- * Allocate an AVHWDeviceContext for a given pixel format.
+ * Allocate an AVHWDeviceContext for a given hardware type.
  *
+ * @param type the type of the hardware device to allocate.
  * @return a reference to the newly created AVHWDeviceContext on success or NULL
  *         on failure.
  */