[FFmpeg-cvslog] avcodec/avcodec: document that some video decoders do not support linesizes changing between frames.

Michael Niedermayer git at videolan.org
Fri Jan 3 15:37:08 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jan  3 15:11:38 2014 +0100| [0389f9abe9b11287636ddfbaf3897231905964fc] | committer: Michael Niedermayer

avcodec/avcodec: document that some video decoders do not support linesizes changing between frames.

Omission in the documentation found by: Sebastian Dröge
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0389f9abe9b11287636ddfbaf3897231905964fc
---

 libavcodec/avcodec.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 37f6807..9ca61c0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2158,6 +2158,8 @@ typedef struct AVCodecContext {
      * avcodec_align_dimensions2() should be used to find the required width and
      * height, as they normally need to be rounded up to the next multiple of 16.
      *
+     * Some decoders do not support linesizes changing between frames.
+     *
      * If frame multithreading is used and thread_safe_callbacks is set,
      * this callback may be called from a different thread, but not from more
      * than one at once. Does not need to be reentrant.



More information about the ffmpeg-cvslog mailing list