]> git.sesse.net Git - ffmpeg/commit
h264: allow cropping to AVCodecContext.width/height
authorMans Rullgard <mans@mansr.com>
Wed, 30 May 2012 03:04:54 +0000 (04:04 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 9 Jun 2012 14:08:52 +0000 (15:08 +0100)
commit30f515091c323da59c0f1b533703dedca2f4b95d
treee6669b55340d603bc5e05f3a4786c0533c9203dc
parent8aa93e900449c88c3169ff5636fed03f41779cac
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>
libavcodec/h264.c