comparison ac3dec_data.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 68de5143aa45
children 444f4b594fdb
comparison
equal deleted inserted replaced
10344:2b8a327189cd 10345:294c444866f7