提交 9365dfcb 编写于 作者: J Jun Zhao 提交者: Mark Thompson

hwcontext: fix comments for av_hwdevice_ctx_alloc()

fix the wrong comments for av_hwdevice_ctx_alloc()
Signed-off-by: NJun Zhao <jun.zhao@intel.com>
Signed-off-by: NMark Thompson <sw@jkqxz.net>
上级 51546504
...@@ -223,10 +223,9 @@ typedef struct AVHWFramesContext { ...@@ -223,10 +223,9 @@ typedef struct AVHWFramesContext {
} 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 * @param type the type of the hardware device to allocate.
* on the corresponding format descriptor)
* @return a reference to the newly created AVHWDeviceContext on success or NULL * @return a reference to the newly created AVHWDeviceContext on success or NULL
* on failure. * on failure.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册