Browse Source

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>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
0abfb0a9d8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavformat/vocenc.c
  2. +1
    -1
      tests/lavf-regression.sh

+ 1
- 1
libavformat/vocenc.c View File

@@ -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,


+ 1
- 1
tests/lavf-regression.sh View File

@@ -282,7 +282,7 @@ do_audio_only aif
fi

if [ -n "$do_voc" ] ; then
do_audio_only voc
do_audio_only voc "" "-acodec pcm_u8"
fi

if [ -n "$do_voc_s16" ] ; then


Loading…
Cancel
Save