19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: CXvidDecoder.cpp,v 1.1.2.19 2004-02-28 07:24:34 syskin Exp $ |
* $Id: CXvidDecoder.cpp,v 1.1.2.20 2004-02-29 04:45:19 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
418 |
VIDEOINFOHEADER * vih = (VIDEOINFOHEADER *) mtOut->ReallocFormatBuffer(sizeof(VIDEOINFOHEADER)); |
VIDEOINFOHEADER * vih = (VIDEOINFOHEADER *) mtOut->ReallocFormatBuffer(sizeof(VIDEOINFOHEADER)); |
419 |
if (vih == NULL) return E_OUTOFMEMORY; |
if (vih == NULL) return E_OUTOFMEMORY; |
420 |
|
|
421 |
ZeroMemory(vih, sizeof (VIDEOINFOHEADER2)); |
ZeroMemory(vih, sizeof (VIDEOINFOHEADER)); |
422 |
bmih = &(vih->bmiHeader); |
bmih = &(vih->bmiHeader); |
423 |
mtOut->SetFormatType(&FORMAT_VideoInfo); |
mtOut->SetFormatType(&FORMAT_VideoInfo); |
424 |
} |
} |