BltCommonMediaTypes.h

Go to the documentation of this file.
00001 /*****************************************************************
00002 |
00003 |   Common Media Types
00004 |
00005 |   (c) 2002-2007 Gilles Boccon-Gibod
00006 |   Author: Gilles Boccon-Gibod (bok@bok.net)
00007 |
00008  ****************************************************************/
00013 #ifndef _BLT_COMMON_MEDIA_TYPES_H_
00014 #define _BLT_COMMON_MEDIA_TYPES_H_
00015 
00016 /*----------------------------------------------------------------------
00017 |   includes
00018 +---------------------------------------------------------------------*/
00019 #include "BltTypes.h"
00020 #include "BltModule.h"
00021 #include "BltStream.h"
00022 
00023 /*----------------------------------------------------------------------
00024 |   types
00025 +---------------------------------------------------------------------*/
00026 typedef struct {
00027     BLT_MediaType base;
00028     unsigned int  object_type_id;
00029     unsigned int  decoder_info_length;
00030     /* variable size array follows */
00031     unsigned char decoder_info[1]; /* could be more than 1 byte */
00032 } BLT_Mpeg4AudioMediaType;
00033 
00034 #endif /* _BLT_COMMON_MEDIA_TYPES_H_ */