Browse Source

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>
tags/n3.3
Jun Zhao Mark Thompson 9 years ago
parent
commit
9365dfcbf6
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavutil/hwcontext.h

+ 2
- 3
libavutil/hwcontext.h View File

@@ -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.
*/


Loading…
Cancel
Save