lavu/frame: clarify doxy

AVFrame.data[] elements not used by the format should ALWAYS be null,
hwaccel formats are not an exception.
pull/375/head
Anton Khirnov 3 years ago
parent 3b8efec3c5
commit 3a9861e22c
  1. 3
      libavutil/frame.h

@ -322,8 +322,7 @@ typedef struct AVFrame {
* up to 16 bytes beyond the planes, if these filters are to be used, * up to 16 bytes beyond the planes, if these filters are to be used,
* then 16 extra bytes must be allocated. * then 16 extra bytes must be allocated.
* *
* NOTE: Except for hwaccel formats, pointers not needed by the format * NOTE: Pointers not needed by the format MUST be set to NULL.
* MUST be set to NULL.
* *
* @attention In case of video, the data[] pointers can point to the * @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 * end of image data in order to reverse line order, when used in

Loading…
Cancel
Save