-
Joakim Plate authored
avctx->width/height remain right/bottom cropped as previous behaviour. Hardware decoders need to know the uncropped data to allocate surfaces of correct height. Some hardware is picky and fails to decoder properly if a surface larger than needed is used during decode, so just aligning up is not enough. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
29a29226