Patch for "uuid" atom followed after atom "ftyp" by "QuickTime <ffmpeg AT gmail DOT com>"

Originally committed as revision 4068 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
François Revol 20 years ago
parent 8272de4ea2
commit 0d23cb8439
  1. 1
      libavformat/mov.c

@ -1712,6 +1712,7 @@ static int mov_probe(AVProbeData *p)
return AVPROBE_SCORE_MAX - 5;
case MKTAG( 'f', 't', 'y', 'p' ):
case MKTAG( 's', 'k', 'i', 'p' ):
case MKTAG( 'u', 'u', 'i', 'd' ):
offset = to_be32(p->buf+offset) + offset;
/* if we only find those cause probedata is too small at least rate them */
score = AVPROBE_SCORE_MAX - 50;

Loading…
Cancel
Save