OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d9331
)
output-example: Set sample_fmt to SAMPLE_FMT_S16.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Mon, 14 Jun 2010 07:05:59 +0000
(07:05 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Mon, 14 Jun 2010 07:05:59 +0000
(07:05 +0000)
Originally committed as revision 23597 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/output-example.c
patch
|
blob
|
history
diff --git
a/libavformat/output-example.c
b/libavformat/output-example.c
index
dd61cfe
..
15e2d9a
100644
(file)
--- a/
libavformat/output-example.c
+++ b/
libavformat/output-example.c
@@
-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;