From 0389f9abe9b11287636ddfbaf3897231905964fc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 3 Jan 2014 15:11:38 +0100 Subject: [PATCH] avcodec/avcodec: document that some video decoders do not support linesizes changing between frames. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Omission in the documentation found by: Sebastian Dröge Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 37f6807209..9ca61c0bfe 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.