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>
pull/53/head
Michael Niedermayer 11 years ago
parent 57cfcbf347
commit 0389f9abe9
  1. 2
      libavcodec/avcodec.h

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

Loading…
Cancel
Save