comparison ratecontrol.c @ 10345:294c444866f7 libavcodec

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.
author reimar
date Thu, 01 Oct 2009 15:54:55 +0000
parents 2b2bac59038e
children 421c9441c11e
comparison
equal deleted inserted replaced
10344:2b8a327189cd 10345:294c444866f7