> LGTM, but when does it happen? Why would creation of IDirect3D9Ex > succeed, but this method fail? The strangest thing being that > CreateDeviceEx apparently fails, even though modeex is > zero-initialized and doesn't contain any pointers. > > Anyway, please format the commit message according to project > standards, and add anything you might know about this to the commit > message. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Thx for your reply. Our software uses an old Directx SDK (June 2010) and it works fine with ffmpeg 3.1.4. However it was crashing with the new ffmpeg 3.4. I've noticed that there was a crash with a memory violation when executing IDirect3D9Ex_CreateDeviceEx. Unhandled exception at 0x000007FEF10974A3 (d3d9.dll) in crash_dump.dmp: 0xC0000005: Access violation reading location 0x0000000000000001. This crash prevent ffmpeg from falling back to the classic format. Actually an error was being issued by IDirect3D9Ex_GetAdapterDisplayModeEx but this was never caught. After this patch, ffmpeg is falling back to the classic format and no crashes take place. I'll update the message and resubmit the patch. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel