diff mbox series

[FFmpeg-devel,2/2] lavu/frame: clarify doxy

Message ID 20211125153315.26506-2-anton@khirnov.net
State Accepted
Commit 3a9861e22c636d843c10e23f5585196d1f3400dd
Headers show
Series [FFmpeg-devel,1/2] lavu/frame: drop mentions of non-refcounted frames | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Anton Khirnov Nov. 25, 2021, 3:33 p.m. UTC
AVFrame.data[] elements not used by the format should ALWAYS be null,
hwaccel formats are not an exception.
---
 libavutil/frame.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavutil/frame.h b/libavutil/frame.h
index f7be2340fd..b7be3fa441 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