diff options
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 56001a8798..76a8123dcb 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -187,6 +187,9 @@ typedef struct AVFrame { * see avcodec_align_dimensions2(). Some filters and swscale can read * 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. */ uint8_t *data[AV_NUM_DATA_POINTERS]; |