diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-18 17:58:49 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-19 12:51:42 +0000 |
commit | a4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a (patch) | |
tree | d3204a0c3c89bddd58fb219a5677b14e8b282b4b /tests | |
parent | 09a5c2452cab8931f70ecb51705114682c962f98 (diff) | |
download | ffmpeg-a4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a.tar.gz |
Add regression test for stereo s16le in voc.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lavf-regression.sh | 6 | ||||
-rw-r--r-- | tests/ref/lavf/voc_s16 | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 736629bb67..b14a58efcd 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -40,7 +40,7 @@ do_image_formats() do_audio_only() { file=${outfile}lavf.$1 - do_ffmpeg $file -t 1 -qscale 10 -f s16le -i $pcm_src + do_ffmpeg $file -t 1 -qscale 10 $2 -f s16le -i $pcm_src $3 do_ffmpeg_crc $file -i $target_path/$file } @@ -206,6 +206,10 @@ if [ -n "$do_voc" ] ; then do_audio_only voc fi +if [ -n "$do_voc_s16" ] ; then +do_audio_only s16.voc "-ac 2" "-acodec pcm_s16le" +fi + if [ -n "$do_ogg" ] ; then do_audio_only ogg fi diff --git a/tests/ref/lavf/voc_s16 b/tests/ref/lavf/voc_s16 new file mode 100644 index 0000000000..425d9655ad --- /dev/null +++ b/tests/ref/lavf/voc_s16 @@ -0,0 +1,3 @@ +b20728bf036d2e23508869acbad4e576 *./tests/data/lavf/lavf.s16.voc +163840 ./tests/data/lavf/lavf.s16.voc +./tests/data/lavf/lavf.s16.voc CRC=0xfa9b6c39 |