Mercurial > mplayer.hg
view loader/dshow/cmediasample.h @ 25868:c36c43253806
Fix compilation failure because bitfile was undefined:
In file included from decoder.c:36:
mp4.h:46: error: expected ')' before '*' token
author | diego |
---|---|
date | Mon, 28 Jan 2008 01:31:39 +0000 |
parents | 2c8cdb9123b8 |
children | a8ea87c71d18 |
line wrap: on
line source
#ifndef DS_CMEDIASAMPLE_H #define DS_CMEDIASAMPLE_H #include "interfaces.h" #include "guids.h" typedef struct CMediaSample CMediaSample; struct CMediaSample { IMediaSample_vt* vt; DECLARE_IUNKNOWN(); IMemAllocator* all; int size; int actual_size; char* block; char* own_block; int isPreroll; int isSyncPoint; int isDiscontinuity; LONGLONG time_start; LONGLONG time_end; AM_MEDIA_TYPE media_type; int type_valid; void ( *SetPointer) (CMediaSample* This, char* pointer); void ( *ResetPointer) (CMediaSample* This); // FIXME replace with Set & 0 }; CMediaSample* CMediaSampleCreate(IMemAllocator* allocator, int size); // called from allocator void CMediaSample_Destroy(CMediaSample* This); #endif /* DS_CMEDIASAMPLE_H */