|
From: <no...@so...> - 2001-02-08 17:52:49
|
Bug #131581, was updated on 2001-Feb-08 09:53
Here is a current snapshot of the bug.
Project: Quasar DV Codec
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: heroines
Assigned to : nobody
Summary: Initializating multiple dv_decoder_t objects fails
Details: Initializating multiple dv_decoder_t objects fails due to
recursive math. Before initializing the codec you need to lock out all the
recursive initialization routines with something like this:
static int dv_initted = 0;
void dv_init(dv_decoder_t *dv) {
#if ARCH_X86
dv->use_mmx = mmx_ok();
#endif
if(!dv_initted)
{
weight_init();
dct_init();
dv_dct_248_init();
dv_construct_vlc_table();
dv_parse_init();
dv_place_init();
}
dv_quant_init (dv);
if(!dv_initted)
{
dv_rgb_init();
dv_YUY2_init();
dv_YV12_init();
}
dv_initted = 1;
} /* dv_init */
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131581&group_id=4393
|