Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: dvbdevice optimization
"C.Y.M" wrote:
>
> ...
> Now I remember why valgrind was complaining.. This has to deal with
> vdr-1.3.12 and the AC3overDVB patch. If you look at this small snip of
> the AC3overDVB code, the following "SetupPES()" function is inserted and
> wants the "aPid1 = aPid2 = 0" before it.
>
> @@ -482,6 +484,8 @@
> ciHandler = cCiHandler::CreateCiHandler(DvbName(DEV_DVB_CA, n));
> dvbTuner = new cDvbTuner(fd_frontend, CardIndex(), frontendType, ciHandler);
> aPid1 = aPid2 = 0;
> + // setup the PES analyser
> + SetupPES();
> }
> else
> LOG_ERROR;
Ah, that's the reason.
I'll move the initialization of these variables to the beginning of
the constructor, because putting it into a conditional branch isn't
a very good idea...
Klaus
Home |
Main Index |
Thread Index