diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-29 22:44:36 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-19 17:05:33 +0200 |
commit | 129cbbd7be16fc0c396cfbb291794174735dbaf7 (patch) | |
tree | e900e0af8a56aca7117e05e5569297977a4ca2fa /tests/ref/fate/aptx | |
parent | 017d976629ea272965ea67201543c8b5538cbf09 (diff) | |
download | ffmpeg-129cbbd7be16fc0c396cfbb291794174735dbaf7.tar.gz |
avcodec/aptxenc: Process data in complete blocks of four samples only
Do this by setting AVCodecInternal.pad_samples.
This prevents reading into the frame's padding and writing
into the packet's padding.
This actually happened in our FATE tests (where the number of samples
is 2 mod 4), which therefore needed to be updated.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/fate/aptx')
-rw-r--r-- | tests/ref/fate/aptx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/aptx b/tests/ref/fate/aptx index 4d20b7df9a..7917399297 100644 --- a/tests/ref/fate/aptx +++ b/tests/ref/fate/aptx @@ -1,5 +1,5 @@ -b5d8a297c0e8d9854f19d9d3e8b82859 *tests/data/fate/aptx.aptx -418950 tests/data/fate/aptx.aptx +97dfd7f32d34fb74337c0f6c66e26e2d *tests/data/fate/aptx.aptx +418952 tests/data/fate/aptx.aptx #tb 0: 1/44100 #media_type 0: audio #codec_id 0: pcm_s16le |