[FFmpeg-devel] [PATCH] Add regression test for stereo s16le in voc.

Måns Rullgård mans
Wed Jan 19 13:54:34 CET 2011


Diego Biurrun <diego at biurrun.de> writes:

> On Tue, Jan 18, 2011 at 12:58:49PM -0500, Justin Ruggles wrote:
>> ---
>>  tests/lavf-regression.sh |    6 +++++-
>>  tests/ref/lavf/voc_s16   |    3 +++
>>  2 files changed, 8 insertions(+), 1 deletions(-)
>>  create mode 100644 tests/ref/lavf/voc_s16
>> 
>> --- 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
>>  
>> +if [ -n "$do_voc_s16" ] ; then
>> +do_audio_only s16.voc "-ac 2" "-acodec pcm_s16le"
>> +fi
>
> Since this is the only test using extra parameters I cannot see how
> this might introduce problems, thus OK.

Agree, committed.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list