summaryrefslogtreecommitdiff
path: root/inc/av_format_identify.h
blob: e136d43f61e46c9d17884c90c639e35a38e37844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#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