The LPC encoder is not used at compression levels below 3 but the basic acodec test uses -compression_level 2. This adds a test using -compression_level 5, which is the current default. --- tests/fate/acodec.mak | 4 +++- tests/ref/acodec/flac-comp-5 | 4 ++++ 2 files changed, 7 insertions(+), 1 deletions(-) create mode 100644 tests/ref/acodec/flac-comp-5
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak index 325bbd9..0cec639 100644 --- a/tests/fate/acodec.mak +++ b/tests/fate/acodec.mak @@ -113,9 +113,11 @@ fate-acodec-dca2: CMP_SHIFT = -2048 fate-acodec-dca2: CMP_TARGET = 527 fate-acodec-dca2: SIZE_TOLERANCE = 1632 -FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac +FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac fate-acodec-flac-comp-5 fate-acodec-flac: FMT = flac fate-acodec-flac: CODEC = flac -compression_level 2 +fate-acodec-flac-comp-5: FMT = flac +fate-acodec-flac-comp-5: CODEC = flac -compression_level 5 FATE_ACODEC-$(call ENCDEC, G723_1, G723_1) += fate-acodec-g723_1 fate-acodec-g723_1: tests/data/asynth-8000-1.wav diff --git a/tests/ref/acodec/flac-comp-5 b/tests/ref/acodec/flac-comp-5 new file mode 100644 index 0000000..34377c7 --- /dev/null +++ b/tests/ref/acodec/flac-comp-5 @@ -0,0 +1,4 @@ +6acc6bfd4c46fb4dba7f01259455a804 *tests/data/fate/acodec-flac-comp-5.flac +236511 tests/data/fate/acodec-flac-comp-5.flac +95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-flac-comp-5.out.wav +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400 -- 1.7.9 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel