18
18
* License along with Libav; if not, write to the Free Software
19
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24
26
AVStream *st = avformat_new_stream(s, NULL);
27
29
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
29
31
st->codec->codec_tag = MKTAG('d', 'a', 'u', 'd');
31
34
st->codec->sample_rate = 96000;
32
35
st->codec->bit_rate = 3 * 6 * 96000 * 8;
33
36
st->codec->block_align = 3 * 6;