LAVFilters icon indicating copy to clipboard operation
LAVFilters copied to clipboard

Embedded cue sheet triggers crash with x86 build

Open clsid2 opened this issue 1 year ago • 1 comments

sample file

clsid2 avatar Aug 19 '24 01:08 clsid2

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?

clsid2 avatar Aug 19 '24 13:08 clsid2

The sample does not exist anymore.

Nevcairiel avatar Sep 19 '24 09:09 Nevcairiel

sample reupload

clsid2 avatar Sep 19 '24 11:09 clsid2