summaryrefslogtreecommitdiff
path: root/inc/av_format_identify.h
blob: 108930ded5478cb012496b28b6dda48f20cb796b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _AV_FORMAT_IDENTIFY_H
#define _AV_FORMAT_IDENTIFY_H


#define AV_CONTAINER_UNKNOWN 	0
#define AV_CONTAINER_MPEGTS		1
#define AV_CONTAINER_FLV		2
#define AV_CONTAINER_MP4		3


/*To identify the container type of the whole byte stream*/
int AV_container_identify(const char* buff, size_t size);

#endif