diff options
author | Jun Zhao <jun.zhao@intel.com> | 2017-03-19 15:44:46 +0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-04 13:47:19 +0000 |
commit | 96e476cc9d414e248692c773d9dce736662572b8 (patch) | |
tree | 727a444edfac9d48688c5aff27cc50bdbe3d47c3 /libavutil/hwcontext.h | |
parent | 8965e2af921ec5926b26d5ae466ee4104bb5262b (diff) | |
download | ffmpeg-96e476cc9d414e248692c773d9dce736662572b8.tar.gz |
hwcontext: Fix documentation for av_hwdevice_ctx_alloc()
From ffmpeg commit 9365dfcbf665b83b2e60c5ec5e2abf1f0a49e2c3.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavutil/hwcontext.h')
-rw-r--r-- | libavutil/hwcontext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h index 203ea510ec..ba293d72e5 100644 --- a/libavutil/hwcontext.h +++ b/libavutil/hwcontext.h @@ -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. */ |