]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/frame.h
Merge commit '7d61dc95d741ca134d59b1f34c4e10c4c4e36f56'
[ffmpeg] / libavutil / frame.h
index aadc79688095f8c4fe46c196288b3ad0b34da60f..76a8123dcb26070f4232c5b3f727a9135d8529fe 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * This file is part of FFmpeg.
  *
  * FFmpeg is free software; you can redistribute it and/or
@@ -188,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];