summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorJun Zhao <jun.zhao@intel.com>2017-03-19 15:44:46 +0800
committerMark Thompson <sw@jkqxz.net>2017-03-22 00:58:42 +0000
commit9365dfcbf665b83b2e60c5ec5e2abf1f0a49e2c3 (patch)
treea0c6ab60369ec141dcecdf1c0947944b9277b9b4 /libavutil
parent51546504133cbea93284aeda3e30e531fe2c1633 (diff)
hwcontext: fix comments for av_hwdevice_ctx_alloc()
fix the wrong comments for av_hwdevice_ctx_alloc() Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h
index 785da090b3..f5bc077897 100644
--- a/libavutil/hwcontext.h
+++ b/libavutil/hwcontext.h
@@ -223,10 +223,9 @@ typedef struct AVHWFramesContext {
} AVHWFramesContext;
/**
- * Allocate an AVHWDeviceContext for a given pixel format.
+ * Allocate an AVHWDeviceContext for a given hardware type.
*
- * @param format a hwaccel pixel format (AV_PIX_FMT_FLAG_HWACCEL must be set
- * on the corresponding format descriptor)
+ * @param type the type of the hardware device to allocate.
* @return a reference to the newly created AVHWDeviceContext on success or NULL
* on failure.
*/