diff options
author | James Almer <jamrial@gmail.com> | 2016-10-25 12:12:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-10-26 16:28:59 -0300 |
commit | eabbc64728c2fdb74f565aededec2ab023d20699 (patch) | |
tree | 80ff5c5475a143fd988bcba7cad2b11b7dbd3cd1 /tests/ref | |
parent | e1b30c8a010992bbb0dab78496c44f24022211de (diff) | |
download | ffmpeg-eabbc64728c2fdb74f565aededec2ab023d20699.tar.gz |
avformat/matroskaenc: fix cue relative position values when CRC32 is enabled
The dynamic buffer does not contain the CRC32 element so calls to avio_tell()
don't take it into account. This resulted in CueRelativePosition values being
six bytes short.
This is a regression since 6724525a1576ca334d2ffdc085620bb44aea7394
Instead of adding yet another custom check for CRC32 to fix a size or an offset,
remove the existing ones and reserve the six bytes in the dynamic buffer.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/rgb24-mkv | 2 | ||||
-rw-r--r-- | tests/ref/lavf/mkv | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/ref/fate/rgb24-mkv b/tests/ref/fate/rgb24-mkv index 19fd0e66fb..88d22c14e6 100644 --- a/tests/ref/fate/rgb24-mkv +++ b/tests/ref/fate/rgb24-mkv @@ -1,4 +1,4 @@ -7b8662e001bfb32a4bf709f4fe620138 *tests/data/fate/rgb24-mkv.matroska +94cce0d7d5b14b4c86e74a1ca454c5aa *tests/data/fate/rgb24-mkv.matroska 58361 tests/data/fate/rgb24-mkv.matroska #tb 0: 1/10 #media_type 0: video diff --git a/tests/ref/lavf/mkv b/tests/ref/lavf/mkv index de161bf53a..0083033958 100644 --- a/tests/ref/lavf/mkv +++ b/tests/ref/lavf/mkv @@ -1,6 +1,6 @@ -d23ff6ba071001256fa5073a0a528337 *./tests/data/lavf/lavf.mkv +7c8697c324e8ad79c5ea14364a6c39b8 *./tests/data/lavf/lavf.mkv 472759 ./tests/data/lavf/lavf.mkv ./tests/data/lavf/lavf.mkv CRC=0xec6c3c68 -e33c89229c7d5014137c7217f4547467 *./tests/data/lavf/lavf.mkv +9767a3b526d7e56d7400164cb888990c *./tests/data/lavf/lavf.mkv 320603 ./tests/data/lavf/lavf.mkv ./tests/data/lavf/lavf.mkv CRC=0xec6c3c68 |