This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
output-example: Set sample_fmt to SAMPLE_FMT_S16.
Originally committed as revision 23597 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Ramiro Polla
15 years ago
parent
30d9331050
commit
1f1916cea2
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/output-example.c
+ 1
- 0
libavformat/output-example.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save