Commit 0389f9ab authored by Michael Niedermayer's avatar Michael Niedermayer

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

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 57cfcbf3
...@@ -2158,6 +2158,8 @@ typedef struct AVCodecContext { ...@@ -2158,6 +2158,8 @@ typedef struct AVCodecContext {
* avcodec_align_dimensions2() should be used to find the required width and * 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. * 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, * If frame multithreading is used and thread_safe_callbacks is set,
* this callback may be called from a different thread, but not from more * this callback may be called from a different thread, but not from more
* than one at once. Does not need to be reentrant. * than one at once. Does not need to be reentrant.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment