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> (cherry picked from committags/n0.6.730f515091c) Conflicts: libavcodec/h264.c (cherry picked from commite1608014c5) Signed-off-by: Reinhard Tartler <siretart@tauware.de> (cherry picked from commitb102d5d97d) Signed-off-by: Reinhard Tartler <siretart@tauware.de>