Revision 0abdb293 libavformat/au.c
libavformat/au.c | ||
---|---|---|
28 | 28 |
*/ |
29 | 29 |
|
30 | 30 |
#include "avformat.h" |
31 |
#include "avio_internal.h" |
|
31 | 32 |
#include "pcm.h" |
32 | 33 |
#include "riff.h" |
33 | 34 |
|
... | ... | |
53 | 54 |
{ |
54 | 55 |
if(!enc->codec_tag) |
55 | 56 |
return -1; |
56 |
put_tag(pb, ".snd"); /* magic number */
|
|
57 |
ffio_wfourcc(pb, ".snd"); /* magic number */
|
|
57 | 58 |
avio_wb32(pb, 24); /* header size */ |
58 | 59 |
avio_wb32(pb, AU_UNKNOWN_SIZE); /* data size */ |
59 | 60 |
avio_wb32(pb, (uint32_t)enc->codec_tag); /* codec ID */ |
Also available in: Unified diff