Commit 1f1916ce authored by Ramiro Polla's avatar Ramiro Polla

output-example: Set sample_fmt to SAMPLE_FMT_S16.

Originally committed as revision 23597 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 30d93310
......@@ -68,6 +68,7 @@ static AVStream *add_audio_stream(AVFormatContext *oc, enum CodecID codec_id)
c->codec_type = AVMEDIA_TYPE_AUDIO;
/* put sample parameters */
c->sample_fmt = SAMPLE_FMT_S16;
c->bit_rate = 64000;
c->sample_rate = 44100;
c->channels = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment