Mercurial > libavformat.hg
comparison electronicarts.c @ 2717:4cfddd2c98a5 libavformat
probe more kind of electronic arts files
author | aurel |
---|---|
date | Wed, 07 Nov 2007 23:01:32 +0000 |
parents | af608703bde1 |
children | d52c718e83f9 |
comparison
equal
deleted
inserted
replaced
2716:570c003fe0ed | 2717:4cfddd2c98a5 |
---|---|
36 #define ISNe_TAG MKTAG('1', 'S', 'N', 'e') /* 1SNx end */ | 36 #define ISNe_TAG MKTAG('1', 'S', 'N', 'e') /* 1SNx end */ |
37 #define PT00_TAG MKTAG('P', 'T', 0x0, 0x0) | 37 #define PT00_TAG MKTAG('P', 'T', 0x0, 0x0) |
38 #define GSTR_TAG MKTAG('G', 'S', 'T', 'R') | 38 #define GSTR_TAG MKTAG('G', 'S', 'T', 'R') |
39 #define SCDl_TAG MKTAG('S', 'C', 'D', 'l') | 39 #define SCDl_TAG MKTAG('S', 'C', 'D', 'l') |
40 #define SCEl_TAG MKTAG('S', 'C', 'E', 'l') | 40 #define SCEl_TAG MKTAG('S', 'C', 'E', 'l') |
41 #define kVGT_TAG MKTAG('k', 'V', 'G', 'T') /* TGV i-frame */ | |
42 #define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD i-frame */ | |
43 #define MPCh_TAG MKTAG('M', 'P', 'C', 'h') /* MPEG2 */ | |
41 #define MVhd_TAG MKTAG('M', 'V', 'h', 'd') | 44 #define MVhd_TAG MKTAG('M', 'V', 'h', 'd') |
42 #define MV0K_TAG MKTAG('M', 'V', '0', 'K') | 45 #define MV0K_TAG MKTAG('M', 'V', '0', 'K') |
43 #define MV0F_TAG MKTAG('M', 'V', '0', 'F') | 46 #define MV0F_TAG MKTAG('M', 'V', '0', 'F') |
47 #define MVIh_TAG MKTAG('M', 'V', 'I', 'h') /* CMV header */ | |
44 | 48 |
45 typedef struct EaDemuxContext { | 49 typedef struct EaDemuxContext { |
46 int big_endian; | 50 int big_endian; |
47 | 51 |
48 int video_codec; | 52 int video_codec; |
307 { | 311 { |
308 switch (AV_RL32(&p->buf[0])) { | 312 switch (AV_RL32(&p->buf[0])) { |
309 case ISNh_TAG: | 313 case ISNh_TAG: |
310 case SCHl_TAG: | 314 case SCHl_TAG: |
311 case SEAD_TAG: | 315 case SEAD_TAG: |
316 case kVGT_TAG: | |
317 case MADk_TAG: | |
318 case MPCh_TAG: | |
312 case MVhd_TAG: | 319 case MVhd_TAG: |
320 case MVIh_TAG: | |
313 return AVPROBE_SCORE_MAX; | 321 return AVPROBE_SCORE_MAX; |
314 } | 322 } |
315 return 0; | 323 return 0; |
316 } | 324 } |
317 | 325 |