#ifndef _ASF_DEMUX_H #define _ASF_DEMUX_H int asfdemux(unsigned char *buf,unsigned int len); typedef struct _ERROR_CORRECTION_ { char Error_Correction_Data_Length; char Opaque_Data_Present; char Error_Corrcection_Length_Type; char Error_Corrcection_Present; char Error_Correction_Data; }_ERROR_CORRECTION; struct _LenTypeFlag_ { unsigned char ErrorCorrectionPresent; unsigned char PackLenType; unsigned char PaddingLenType; unsigned char SequeType; unsigned char MulPayPres; }; typedef struct _PayLoadParsingInfo { struct _LenTypeFlag_ _LenTypeFlag; struct { unsigned char ReplicatedDataLenType; unsigned char OffsetIntoObjLenType; unsigned char MediaObjNumLenType; unsigned char StreamNumLenType; }PropertyFlag; unsigned long int PacketLength; unsigned long int Sequence; unsigned long int PaddingLength; unsigned int SendTime; unsigned int Duration; }PayLoadParsingInfo; typedef struct _PayLoadFlag_ { unsigned char NumOfPayloads; unsigned char PayloadLenType; }PayLoadFlag; typedef struct _PayLoadStat { struct { unsigned int StreamN; unsigned char KeyFrameBit; }StreamNum; unsigned long int MediaObjectNum; unsigned long int OffsetIntoObject; unsigned long int ReplicatedDataLen; unsigned long int PayLoadLen; struct { unsigned int MediaObjectSize; unsigned int PresTime; }ReplicatedData; }PayLoadStat; #define FILENAMEFMT "vfile%d" #endif
asf头文集
最新推荐文章于 2024-01-06 08:00:00 发布