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, diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 4d908aaacf..29f9ba17e9 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -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