diff options
author | James Almer <[email protected]> | 2016-10-25 12:12:03 -0300 |
---|---|---|
committer | James Almer <[email protected]> | 2016-10-26 16:30:05 -0300 |
commit | e6f35a9cd849585f20d69765a48a5da88278f2ae (patch) | |
tree | 1fd59207eaa48f2fd5796990327be21322a72243 /libavformat/avisynth.c | |
parent | 660229d6477437115a746b4bd1f72b8b3dbc92ba (diff) |
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 <[email protected]>
(cherry picked from commit eabbc64728c2fdb74f565aededec2ab023d20699)
Diffstat (limited to 'libavformat/avisynth.c')
0 files changed, 0 insertions, 0 deletions