diff options
author | Mans Rullgard <mans@mansr.com> | 2011-05-07 11:55:48 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-05-08 10:58:32 +0100 |
commit | 2728fd905326e2ca2867210b68e598d88a36e53c (patch) | |
tree | 51fb88abba6bbfc8ef050f04f9874bbec400b0ce /tests/regression-funcs.sh | |
parent | 648e55ff1beea72b53f8fb231b3ef0fb16cd3e62 (diff) | |
download | ffmpeg-2728fd905326e2ca2867210b68e598d88a36e53c.tar.gz |
regtest: simplify encoding functions
The video encoding options were needlessly split in two parameters
which are merged. The do_audio_encoding function did not use its
second argument, so this can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests/regression-funcs.sh')
-rwxr-xr-x | tests/regression-funcs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh index 4093656736..77ede1d5b7 100755 --- a/tests/regression-funcs.sh +++ b/tests/regression-funcs.sh @@ -121,13 +121,13 @@ do_video_decoding() do_video_encoding() { file=${outfile}$1 - do_ffmpeg $file $2 -f image2 -vcodec pgmyuv -i $raw_src $3 + do_ffmpeg $file -f image2 -vcodec pgmyuv -i $raw_src $2 } do_audio_encoding() { file=${outfile}$1 - do_ffmpeg $file -ab 128k -ac 2 -f s16le -i $pcm_src $3 + do_ffmpeg $file -ab 128k -ac 2 -f s16le -i $pcm_src $2 } do_audio_decoding() |