aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-10-25 12:12:03 -0300
committerJames Almer <jamrial@gmail.com>2016-10-26 16:28:59 -0300
commiteabbc64728c2fdb74f565aededec2ab023d20699 (patch)
tree80ff5c5475a143fd988bcba7cad2b11b7dbd3cd1 /tests/tiny_psnr.c
parente1b30c8a010992bbb0dab78496c44f24022211de (diff)
downloadffmpeg-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/tiny_psnr.c')
0 files changed, 0 insertions, 0 deletions