summaryrefslogtreecommitdiff
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-06-14 11:45:54 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-06-15 13:39:07 +0200
commit9af7e8045e3e63ab39adedae9a7c11b1c410af26 (patch)
tree728dce5a6ebc63b5af09b190e79fd55d155f51ff /libavcodec/h264_slice.c
parent03ca6d70df192125a772dadd01acfe3905aa653f (diff)
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 'libavcodec/h264_slice.c')
0 files changed, 0 insertions, 0 deletions