Originally committed as revision 20182 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Daniel Verkamp 15 years ago
parent 811e0fc2e8
commit 70d8c762d9
  1. 14
      libavformat/wav.c

@ -163,17 +163,17 @@ static int wav_probe(AVProbeData *p)
return 0;
if (!memcmp(p->buf + 8, "WAVE", 4)) {
if (!memcmp(p->buf, "RIFF", 4))
/*
Since ACT demuxer has standard WAV header at top of it's own,
returning score is decreased to avoid probe conflict
between ACT and WAV.
*/
return AVPROBE_SCORE_MAX - 1;
/*
Since ACT demuxer has standard WAV header at top of it's own,
returning score is decreased to avoid probe conflict
between ACT and WAV.
*/
return AVPROBE_SCORE_MAX - 1;
else if (!memcmp(p->buf, "RF64", 4) &&
!memcmp(p->buf + 12, "ds64", 4))
return AVPROBE_SCORE_MAX;
}
return 0;
return 0;
}
/* wav input */

Loading…
Cancel
Save