[MPlayer-dev-eng] Status of CoreAVC (last time) and using win32 codecs on x86_64
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Sep 8 13:28:55 CEST 2007
Vladimir Voroshilov <voroshil <at> gmail.com> writes:
> 2007/9/8, Carl Eugen Hoyos <cehoyos <at> ag.or.at>:
> > Hi!
> > [...]
> > In loader/dshow/DS_VideoDecoder.c, the following line has to be added
> > after "sample->vt->Release((IUnknown*)sample)" (around line 447):
> > if (!framecount) return -1;
>
> Could you provide small patch for this, please.
Sure (against coreavc-for-linux).
Carl Eugen
Index: loader/dshow/DS_VideoDecoder.c
===================================================================
--- loader/dshow/DS_VideoDecoder.c (Revision 32)
+++ loader/dshow/DS_VideoDecoder.c (Arbeitskopie)
@@ -445,6 +445,8 @@
}
sample->vt->Release((IUnknown*)sample);
+ if (!framecount) return -1;
+
#if 0
if (this->m_bIsDivX)
{
More information about the MPlayer-dev-eng
mailing list