diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-06-14 11:45:54 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-06-15 13:39:07 +0200 |
commit | 9af7e8045e3e63ab39adedae9a7c11b1c410af26 (patch) | |
tree | 728dce5a6ebc63b5af09b190e79fd55d155f51ff /libavformat | |
parent | 03ca6d70df192125a772dadd01acfe3905aa653f (diff) | |
download | ffmpeg-9af7e8045e3e63ab39adedae9a7c11b1c410af26.tar.gz |
lavc: Clarify the behaviour of dimension and format context fields
The AVCodecContext width, height, coded_width, coded_height and format
are used mainly as decoding hints and they get internally overwritten
during the data parsing stage.
Do not assume they match the last AVFrame provided by
avcodec_decode_video2 and assimilated functions since multi-threading
and other frame reordering might make those values to refer to frames
that will be outputted in the future.
CC: libav-stable@libav.org
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions