Revision 70d8c762 libavformat/wav.c

View differences:

libavformat/wav.c
163 163
        return 0;
164 164
    if (!memcmp(p->buf + 8, "WAVE", 4)) {
165 165
        if (!memcmp(p->buf, "RIFF", 4))
166
        /*
167
          Since ACT demuxer has standard WAV header at top of it's own,
168
          returning score is decreased to avoid probe conflict
169
          between ACT and WAV.
170
        */
171
        return AVPROBE_SCORE_MAX - 1;
166
            /*
167
              Since ACT demuxer has standard WAV header at top of it's own,
168
              returning score is decreased to avoid probe conflict
169
              between ACT and WAV.
170
            */
171
            return AVPROBE_SCORE_MAX - 1;
172 172
        else if (!memcmp(p->buf,      "RF64", 4) &&
173 173
                 !memcmp(p->buf + 12, "ds64", 4))
174 174
            return AVPROBE_SCORE_MAX;
175 175
    }
176
        return 0;
176
    return 0;
177 177
}
178 178

  
179 179
/* wav input */

Also available in: Unified diff