Make avcodec_open set codec_id and codec_type if they haven't been set.
This fixes the API breakage introduced by the check that avctx codec id and type match the opened codec and should make (almost?) all applications work again. Originally committed as revision 20125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing
Please
register
or
sign in
to comment