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. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20125 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Showing
Please register or sign in to comment