summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaoqing MA <[email protected]>2018-07-17 10:00:47 +0800
committerXiaoqing MA <[email protected]>2018-07-17 10:00:47 +0800
commit96c7a36449f80ab767a6eac122d66227d2edaed7 (patch)
tree0344e16c97c61052c133c34343a882885175455b
parent597f30352e0de77bf2e826fcbe9bc3b52e8ac7fb (diff)
1.头文件修改
2.is_mpeg_ts_each中pack_tail,pack_half,pack_quarter,whole_pack_cout,half_pack_cout,quarter_pack_cout变量定义转到while语句前
-rw-r--r--src/av_format_identify.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/av_format_identify.c b/src/av_format_identify.c
index 5652621..07df489 100644
--- a/src/av_format_identify.c
+++ b/src/av_format_identify.c
@@ -1,13 +1,4 @@
-#include <arpa/inet.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdint.h>
-#include <math.h>
-#include <sys/types.h>
-#include <sys/io.h>
-#include <arpa/inet.h>
-
+#include "av_format_identify.h"
#define FIT_TIMES 1
#define TS_SYNC_BYTE 0x47
@@ -16,7 +7,6 @@
#define FLV_TAG_VIDEO 0x09
#define FLV_TAG_SCRIPT_DATA 0x12
-#include "av_format_identify.h"
const char *g_mp4_box_type_all[] = { "ftyp", "pdin", "moov", "mvhd", "trak", "tkhd", "tref", "edts", "elst", "mdia", "mdhd",