summaryrefslogtreecommitdiff
path: root/libavformat/vocenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-25 03:34:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-25 03:35:09 +0200
commit0abfb0a9d8c430ffd7ddd5bbea05623353b15cf2 (patch)
tree92c785c69ea7e7ef21bde46f0d8fb1d8726e1317 /libavformat/vocenc.c
parentbacbbd2b03210f7e2faecb1b320a3e7e7a57b041 (diff)
vocenc: change default codec to 16bit
Hardly anyone would want 8bit today, 16bit is a much more reasonable default. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/vocenc.c')
-rw-r--r--libavformat/vocenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c
index 1ea4dbc5cb..4965322791 100644
--- a/libavformat/vocenc.c
+++ b/libavformat/vocenc.c
@@ -95,7 +95,7 @@ AVOutputFormat ff_voc_muxer = {
.mime_type = "audio/x-voc",
.extensions = "voc",
.priv_data_size = sizeof(VocEncContext),
- .audio_codec = CODEC_ID_PCM_U8,
+ .audio_codec = CODEC_ID_PCM_S16LE,
.video_codec = CODEC_ID_NONE,
.write_header = voc_write_header,
.write_packet = voc_write_packet,