Originally committed as revision 20182 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Daniel Verkamp 2009-10-06 17:51:28 +00:00
parent 811e0fc2e8
commit 70d8c762d9

View File

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