1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Michael Niedermayer 2014-01-03 15:11:38 +01:00
parent 57cfcbf347
commit 0389f9abe9

View File

@ -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.