1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

atoms are not mp4 only, and yes probe is sufficient

Originally committed as revision 12532 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier
2008-03-21 10:52:14 +00:00
parent 9c55b7725b
commit bb787a93dd

View File

@@ -1460,7 +1460,6 @@ static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
} }
static const MOVParseTableEntry mov_default_parse_table[] = { static const MOVParseTableEntry mov_default_parse_table[] = {
/* mp4 atoms */
{ MKTAG( 'c', 'o', '6', '4' ), mov_read_stco }, { MKTAG( 'c', 'o', '6', '4' ), mov_read_stco },
{ MKTAG( 'c', 't', 't', 's' ), mov_read_ctts }, /* composition time to sample */ { MKTAG( 'c', 't', 't', 's' ), mov_read_ctts }, /* composition time to sample */
{ MKTAG( 'd', 'i', 'n', 'f' ), mov_read_default }, { MKTAG( 'd', 'i', 'n', 'f' ), mov_read_default },
@@ -1499,7 +1498,6 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{ 0, NULL } { 0, NULL }
}; };
/* XXX: is it sufficient ? */
static int mov_probe(AVProbeData *p) static int mov_probe(AVProbeData *p)
{ {
unsigned int offset; unsigned int offset;