LAVFilters
LAVFilters copied to clipboard
Crash in CLAVPixFmtConverter::ConvertDirect -> plane_copy_direct_sse4
pFrame has size 1920x1080, but the buffer only has a stride of 1280.
PixFmt NV12, renderer MadVR. I am not sure how or when this can happen. There are 1500+ crashes in DrDump.
Crash happens when reading 0x000001AA777A4000. So seems like amount of data corresponding to a 1280x720 frame.
LAVDirectBuffer probably should be zero-initialized?
Maybe store texture width/height in LAVDirectBuffer, so MIN value can be used in call to convert_direct in case resolution is smaller than expected?
Or maybe just return E_FAIL in case of too small input stride?