From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:RIFF WAVE" |
|---|
| claim | "FFmpeg's WAV probe (needs more than 32 bytes of data) accepts WAVE at offset 8 together with RIFF or RIFX at offset 0 (score one below maximum, because the ACT demuxer also starts with a standard WAV header), or RF64 / BW64 at offset 0 together with WAVE at 8 and a ds64 tag at offset 12." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RIFF WAVE" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "magic bytes" |
|---|
| indicator | "52 49 46 46 ?? ?? ?? ?? 57 41 56 45 (RIFF/RIFX); RF64 or BW64, size, 'WAVE', then 'ds64' at 12; buffer must exceed 32 bytes" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "wav_probe checks memcmp at buf+8 for WAVE, buf for RIFF/RIFX, or RF64/BW64 with ds64 at buf+12" |
|---|
| repo | "https://github.com/FFmpeg/FFmpeg" |
|---|
| commit | "7045cc9b8020ebaae156f4947baa752625056f90" |
|---|
| path | "libavformat/wavdec.c" |
|---|
| lines | "160-178" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "WAVE probe" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:32:27.684Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:27:48.018Z" |
|---|
| result | "confirmed" |
|---|
| method | "Downloaded FFmpeg wavdec.c at 7045cc9b and read wav_probe (lines 160-178): buf_size <= 32 returns 0; WAVE at 8 with RIFF/RIFX gives MAX-1; RF64/BW64 needs ds64 at 12 and gives MAX." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T09:16:30.896Z" |
|---|
| summary | "wav_probe also requires more than 32 bytes of probe data, gives RIFF/RIFX score MAX-1 (because the ACT demuxer has a standard WAV header), and for RF64/BW64 needs BOTH WAVE at 8 and ds64 at 12; read…" |
|---|
| changed | |
|---|
|
|
|---|