[FFmpeg-cvslog] lavu/frame: clarify doxy
Anton Khirnov
git at videolan.org
Sat Dec 4 15:36:14 EET 2021
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Nov 25 16:31:30 2021 +0100| [3a9861e22c636d843c10e23f5585196d1f3400dd] | committer: Anton Khirnov
lavu/frame: clarify doxy
AVFrame.data[] elements not used by the format should ALWAYS be null,
hwaccel formats are not an exception.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a9861e22c636d843c10e23f5585196d1f3400dd
---
libavutil/frame.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 933944526d..3f295f6b9e 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -322,8 +322,7 @@ typedef struct AVFrame {
* up to 16 bytes beyond the planes, if these filters are to be used,
* then 16 extra bytes must be allocated.
*
- * NOTE: Except for hwaccel formats, pointers not needed by the format
- * MUST be set to NULL.
+ * NOTE: Pointers not needed by the format MUST be set to NULL.
*
* @attention In case of video, the data[] pointers can point to the
* end of image data in order to reverse line order, when used in
More information about the ffmpeg-cvslog
mailing list