Re: [FFmpeg-devel] [PATCH V2] hwcontext: fix comments for av_hwdevice_ctx_alloc()
On 22/03/17 00:41, Jun Zhao wrote: > From d4f6c6c0412b817b1c278468c9a036233159d15e Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Sun, 19 Mar 2017 15:44:46 +0800 > Subject: [PATCH V2] hwcontext: fix comments for av_hwdevice_ctx_alloc() > > fix the wrong comments for av_hwdevice_ctx_alloc() > > Signed-off-by: Jun Zhao > --- > libavutil/hwcontext.h | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Yep - applied. Thanks, - Mark ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH V2] hwcontext: fix comments for av_hwdevice_ctx_alloc()
From d4f6c6c0412b817b1c278468c9a036233159d15e Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Sun, 19 Mar 2017 15:44:46 +0800 Subject: [PATCH V2] hwcontext: fix comments for av_hwdevice_ctx_alloc() fix the wrong comments for av_hwdevice_ctx_alloc() Signed-off-by: Jun Zhao --- libavutil/hwcontext.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h index 785da09..f5bc077 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. */ -- 2.9.3 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel