[FFmpeg-devel] [PATCH] lavu/frame: fix typo for ROI (region of interest) documentation

Guo, Yejun yejun.guo at intel.com
Fri May 31 11:02:20 EEST 2019


there is already a nice patch set to fix the ROI documentation, but it
is pending, see https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-May/244440.html

so just fix this obvious typo that the document does not match the code.

Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
---
 libavutil/frame.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/frame.h b/libavutil/frame.h
index 8aa3e88..eebb2c0 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -212,7 +212,7 @@ typedef struct AVFrameSideData {
  * self_size specifies the size of this data structure. This value
  * should be set to sizeof(AVRegionOfInterest). EINVAL is returned if self_size is zero.
  *
- * Number of pixels to discard from the top/bottom/left/right border of
+ * Number of pixels to discard from the top-left corner of
  * the frame to obtain the region of interest of the frame.
  * They are encoder dependent and will be extended internally
  * if the codec requires an alignment.
-- 
2.7.4



More information about the ffmpeg-devel mailing list