Revision c6cd525a libavformat/wav.c

View differences:

libavformat/wav.c
145 145
        p->buf[2] == 'F' && p->buf[3] == 'F' &&
146 146
        p->buf[8] == 'W' && p->buf[9] == 'A' &&
147 147
        p->buf[10] == 'V' && p->buf[11] == 'E')
148
        return AVPROBE_SCORE_MAX;
148
        /*
149
          Since ACT demuxer has standard WAV header at top of it's own,
150
          returning score is decreased to avoid probe conflict
151
          between ACT and WAV.
152
        */
153
        return AVPROBE_SCORE_MAX - 1;
149 154
    else
150 155
        return 0;
151 156
}

Also available in: Unified diff