Mercurial > libavformat.hg
changeset 2717:4cfddd2c98a5 libavformat
probe more kind of electronic arts files
author | aurel |
---|---|
date | Wed, 07 Nov 2007 23:01:32 +0000 |
parents | 570c003fe0ed |
children | 1bbb4fa1cdcd |
files | electronicarts.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/electronicarts.c Wed Nov 07 22:04:00 2007 +0000 +++ b/electronicarts.c Wed Nov 07 23:01:32 2007 +0000 @@ -38,9 +38,13 @@ #define GSTR_TAG MKTAG('G', 'S', 'T', 'R') #define SCDl_TAG MKTAG('S', 'C', 'D', 'l') #define SCEl_TAG MKTAG('S', 'C', 'E', 'l') +#define kVGT_TAG MKTAG('k', 'V', 'G', 'T') /* TGV i-frame */ +#define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD i-frame */ +#define MPCh_TAG MKTAG('M', 'P', 'C', 'h') /* MPEG2 */ #define MVhd_TAG MKTAG('M', 'V', 'h', 'd') #define MV0K_TAG MKTAG('M', 'V', '0', 'K') #define MV0F_TAG MKTAG('M', 'V', '0', 'F') +#define MVIh_TAG MKTAG('M', 'V', 'I', 'h') /* CMV header */ typedef struct EaDemuxContext { int big_endian; @@ -309,7 +313,11 @@ case ISNh_TAG: case SCHl_TAG: case SEAD_TAG: + case kVGT_TAG: + case MADk_TAG: + case MPCh_TAG: case MVhd_TAG: + case MVIh_TAG: return AVPROBE_SCORE_MAX; } return 0;