h264: allow cropping to AVCodecContext.width/height
Override the frame size from the SPS with AVCodecContext values
if the latter specify a size smaller by less than one macroblock.
This is required for correct cropping of MOV files from Canon cameras.
Signed-off-by:
Mans Rullgard <mans@mansr.com>
Showing
Please
register
or
sign in
to comment