Revision 0abdb293 libavformat/wav.c
libavformat/wav.c | ||
---|---|---|
23 | 23 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
24 | 24 |
*/ |
25 | 25 |
#include "avformat.h" |
26 |
#include "avio_internal.h" |
|
26 | 27 |
#include "pcm.h" |
27 | 28 |
#include "riff.h" |
28 | 29 |
|
... | ... | |
42 | 43 |
AVIOContext *pb = s->pb; |
43 | 44 |
int64_t fmt, fact; |
44 | 45 |
|
45 |
put_tag(pb, "RIFF");
|
|
46 |
ffio_wfourcc(pb, "RIFF");
|
|
46 | 47 |
avio_wl32(pb, 0); /* file length */ |
47 |
put_tag(pb, "WAVE");
|
|
48 |
ffio_wfourcc(pb, "WAVE");
|
|
48 | 49 |
|
49 | 50 |
/* format header */ |
50 | 51 |
fmt = ff_start_tag(pb, "fmt "); |
Also available in: Unified diff