diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-07 23:01:32 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-07 23:01:32 +0000 |
commit | 968fc6b96aabd6d7d40dda4fe5ba834d1bfe0988 (patch) | |
tree | 58407b8fc5ed5e1d1ec18ac3dc1873fac82b8028 | |
parent | 2b045c9caafa1e64933c6b441510510341f9ad2d (diff) | |
download | ffmpeg-968fc6b96aabd6d7d40dda4fe5ba834d1bfe0988.tar.gz |
probe more kind of electronic arts files
Originally committed as revision 10947 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/electronicarts.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 0047be9766..8214480229 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -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 @@ static int ea_probe(AVProbeData *p) 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; |