[Ffmpeg-devel] Ongoing printf spring cleanup
Wed Mar 7 18:23:23 CET 2007
Baptiste Coudurier wrote:
> Michel Bardiaux wrote:
>> I assume I can do with dprintf as was done with tprintf, ie add a
>> context argument?
> IIRC, dprintf in its form does not support dprintf("\n"), and
> complains, some code like that resides in many files.
What it does not like seems to be *any* invokation with just a string.
Yes, to make it work I had to use the same definition as for tprintf.
> About context I would say yes, but wouldn't that make dprintf really
> like tprintf ? Therefore we might change dprintf to tprintf or the inverse.
Before I added a context for tprintf, they were almost the same, so I
assumed there was some reason why nobody had merged the two.
There is one difference though: one is conditionned by TRACE the other
by DEBUG. "Comprenne qui pourra".
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel