Commit 96e476cc authored by Jun Zhao's avatar Jun Zhao Committed by Mark Thompson

hwcontext: Fix documentation for av_hwdevice_ctx_alloc()

From ffmpeg commit 9365dfcb.
Signed-off-by: 's avatarJun Zhao <jun.zhao@intel.com>
Signed-off-by: 's avatarMark Thompson <sw@jkqxz.net>
parent 8965e2af
...@@ -252,8 +252,9 @@ const char *av_hwdevice_get_type_name(enum AVHWDeviceType type); ...@@ -252,8 +252,9 @@ const char *av_hwdevice_get_type_name(enum AVHWDeviceType type);
enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev); 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 * @return a reference to the newly created AVHWDeviceContext on success or NULL
* on failure. * on failure.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment