Crash in dxva2_h264_end_frame
Author: clsid2Created Jul 8, 2025Updated Dec 28, 2025
What happens is that ff_dxva2_common_end_frame returns an error code. Then it calls ff_h264_draw_horiz_band which results in a memcpy fail.
Interestingly, there was a patch on the FFmpeg mailing list to remove the function: https://ffmpeg.org/pipermail/ffmpeg-devel/2024-June/329261.html But it was never committed.
This crash has happened over 10.000 times in past years. Example dump.
Since there already is a failure situation, is there any point in calling ff_h264_draw_horiz_band?
Source: Nevcairiel/LAVFilters