summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-25 16:31:30 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-04 14:29:06 +0100
commit3a9861e22c636d843c10e23f5585196d1f3400dd (patch)
tree490cb5ff1436697050652cc619832c9818c2dd2f /libavutil
parent3b8efec3c58ab1e30d72427d3025a0641b442f71 (diff)
lavu/frame: clarify doxy
AVFrame.data[] elements not used by the format should ALWAYS be null, hwaccel formats are not an exception.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/frame.h3
1 files changed, 1 insertions, 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