h264: wait for initial complete frame before outputing frames

This can be optionally disabled whith the "output_corrupt" flags
option.  When in "output_corrupt" mode, incomplete frames are
signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
lavc: replace avcodec_set_dimensions with ff_set_dimensions

avcodec_set_dimensions() is supposed to be an internal utility function,
there is no reason whatsoever for it to be public. Therefore deprecate
it.
oggparsetheora: stop using deprecated avcodec_set_dimensions
lavc/utils: stop using deprecated avcodec_set_dimensions
ansi: stop using deprecated avcodec_set_dimensions
avs: stop using deprecated avcodec_set_dimensions
cdxl: stop using deprecated avcodec_set_dimensions
dirac: stop using deprecated avcodec_set_dimensions
dnxhddec: stop using deprecated avcodec_set_dimensions
dpx: stop using deprecated avcodec_set_dimensions
dvdec: stop using deprecated avcodec_set_dimensions
dvdsubdec: stop using deprecated avcodec_set_dimensions
eacmv: stop using deprecated avcodec_set_dimensions
eamad: stop using deprecated avcodec_set_dimensions
eatgq: stop using deprecated avcodec_set_dimensions
eatgv: stop using deprecated avcodec_set_dimensions
eatqi: stop using deprecated avcodec_set_dimensions
g2meet: stop using deprecated avcodec_set_dimensions
gifdec: stop using deprecated avcodec_set_dimensions
h26[13]dec: stop using deprecated avcodec_set_dimensions