aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-03 15:11:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-03 15:35:11 +0100
commit0389f9abe9b11287636ddfbaf3897231905964fc (patch)
treee5ebbf083ca17bfa55a22c57c37276ac2c7612fb
parent57cfcbf34776496190a2a3bf886f0eccaa6812f3 (diff)
downloadffmpeg-0389f9abe9b11287636ddfbaf3897231905964fc.tar.gz
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@gmx.at>
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
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.