LAVFilters
LAVFilters copied to clipboard
Embedded cue sheet triggers crash with x86 build
The problem is with the title parameter of the avpriv_new_chapter call.
Test code:
const char* test_title = cueSheet.FormatTrack(track).c_str();
__debugbreak();
avpriv_new_chapter(m_avFormat, track.index, AVRational{1, DSHOW_TIME_BASE}, track.Time, track.Time, test_title);
With x64, the char pointer address stays same before and after entering function. With x86 it suddenly points elsewhere. Possibly some kind of compiler error?
The sample does not exist anymore.