[MPlayer-dev-eng] Re: [PATCH] fix return value of Directshow's AddRef and Release

Vladimir Voroshilov voroshil at gmail.com
Sat Feb 10 11:00:45 CET 2007


2007/1/28, Vladimir Voroshilov <voroshil at gmail.com>:
> Hi, All.
>
> Attached patch fixes return value from IUnknown::AddRef and
> IUnknown::Release methods.
> Before this patch return value of above methods differs in
> outputpin.c, inputpin.c and iunk.h (one of them return 0, others -
> reference counter).
> Return value does not have real sense in almost cases, because MSDN
> says that applications should use it only for debug purposes. But i
> think consistent behaviour is better.
>
Did this mail overlooked?

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list